Context
Delete context data from the context processor
This endpoint deletes context data based on the provided parameters. It returns a success or error response depending on the result from the context processor.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
source*string
Source identifier for the context
user_id?stringDeprecated
Optional user ID
organization_id*string
Organization ID
by_doc?boolean
Flag to delete by document
Default
trueby_id?boolean
Flag to delete by ID
Default
falseResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/context/delete" \ -H "Content-Type: application/json" \ -d '{ "source": "support-inbox", "organization_id": "org_01HXYZABC", "by_doc": true, "by_id": false }'{}Add context data to the context processor POST
This endpoint accepts context data and sends it to a context processor for further handling. It returns a success or error response depending on the result from the context processor.
Add memory context data POST
This endpoint adds memory (chat history) as context.
