Retrieve user context
Changed onGets the context information for the authenticated user.
Request
- Base URLhttps://platform-backend.getalchemystai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Name of the file to retrieve context for
Magic key for context retrieval
Response
Successfully retrieved context
Example response
{
"success": true,
"contexts": [
{
"content": "Customer asked about pricing for the Scale plan.",
"metadata": {
"fileName": "support_thread_TCK-1234.txt",
"fileType": "text/plain",
"groupName": [
"support",
"pricing"
],
"lastModified": "2025-01-10T12:34:56.000Z",
"fileSize": 2048
}
}
]
}Changes
- warning
removed the optional property
from the response with the status - info
api operation id
viewRawContextNodesForUserwas added - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning
- breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
api operation id
viewRawContextNodesForUserremoved and replaced with - info
added the optional property
to the response with the status
- breaking