Context

Delete context data from the context processor

POST
/api/v1/context/delete

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?string
Deprecated

Optional user ID

organization_id*string

Organization ID

by_doc?boolean

Flag to delete by document

Defaulttrue
by_id?boolean

Flag to delete by ID

Defaultfalse

Response 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  }'
{}