Context

Delete memory context data

POST
/api/v1/context/memory/delete

Deletes memory context data based on provided parameters.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

memoryId*string

The ID of the memory to delete

user_id?string
Deprecated

Optional user ID

organization_id*string

Organization ID

by_doc?boolean

Delete by document flag

Defaulttrue
by_id?boolean

Delete by ID flag

Defaultfalse

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/context/memory/delete" \  -H "Content-Type: application/json" \  -d '{    "memoryId": "support-thread-TCK-1234",    "organization_id": "org_01HXYZABC",    "by_doc": true,    "by_id": false  }'
Empty