Skip to main content
POST
https://api.memcontext.in
/
api
/
company-brain
/
documents
/
{documentId}
/
cancel
Cancel context vault document processing
curl --request POST \
  --url https://api.memcontext.in/api/company-brain/documents/{documentId}/cancel \
  --header 'X-API-Key: <api-key>'
{
  "cancelled": true,
  "documentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

X-API-Key
string
header
required

API key created from the MemContext dashboard. Keys are prefixed with mc_.

Path Parameters

documentId
string<uuid>
required

Response

200 - application/json

Document processing was cancelled when still pending, retrying, or processing.

cancelled
boolean
required
documentId
string<uuid>
required