v29

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-1415662.1 KB
context

Asynchronously queue context data to add to the context processor

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.

post/api/v1/context/add-async

Request body

sourcestring required

The source of the context data

context_type'resource' | 'conversation' | 'instruction' required

Type of context being added

scope'internal' | 'external' required

Scope of the context

Response

Context queued successfully

queuedboolean required
jobIdstring required

Example response

{
  "queued": true,
  "jobId": "context-add-123456"
}