🚀 Alchemyst is now the Pareto Frontier for AI Context! Learn more
curl --request POST \
--url https://platform-backend.getalchemystai.com/api/v1/context/add-async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"documents": [
{
"content": "Customer asked about pricing for the Scale plan."
}
],
"source": "support-inbox",
"context_type": "resource",
"scope": "internal",
"metadata": {
"fileName": "support_thread_TCK-1234.txt",
"fileType": "text/plain",
"groupName": [
"support",
"pricing"
],
"lastModified": "2025-01-10T12:34:56.000Z",
"fileSize": 2048
}
}
'{
"queued": true,
"jobId": "context-add-123456"
}This endpoint accepts context data and queues it for asynchronous processing by the context processor. It returns a success or error response depending on the queuing result.
curl --request POST \
--url https://platform-backend.getalchemystai.com/api/v1/context/add-async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"documents": [
{
"content": "Customer asked about pricing for the Scale plan."
}
],
"source": "support-inbox",
"context_type": "resource",
"scope": "internal",
"metadata": {
"fileName": "support_thread_TCK-1234.txt",
"fileType": "text/plain",
"groupName": [
"support",
"pricing"
],
"lastModified": "2025-01-10T12:34:56.000Z",
"fileSize": 2048
}
}
'{
"queued": true,
"jobId": "context-add-123456"
}Documentation Index
Fetch the complete documentation index at: https://getalchemystai.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Array of documents with content and additional metadata
Show child attributes
The source of the context data
Type of context being added
resource, conversation, instruction Scope of the context
internal, external Additional metadata for the context
Show child attributes