curl --request DELETE \
--url http://localhost:3333/v1/context/{id} \
--header 'X-API-Key: <api-key>'{
"message": "Context entry deleted successfully",
"deletedContext": {
"id": "ctx_abc123def456",
"question": "How do we handle user authentication in our application?"
},
"authType": "apikey"
}Permanently removes a context entry from the organization. This action cannot be undone. Supports both API key authentication (X-API-Key header) and session authentication (cookies + X-Organization-Id header).
curl --request DELETE \
--url http://localhost:3333/v1/context/{id} \
--header 'X-API-Key: <api-key>'{
"message": "Context entry deleted successfully",
"deletedContext": {
"id": "ctx_abc123def456",
"question": "How do we handle user authentication in our application?"
},
"authType": "apikey"
}API key for authentication
Organization ID (required for session auth, optional for API key auth)
Context entry ID
"ctx_abc123def456"
Was this page helpful?