context
Cancel a context add job
Attempts to cancel a context add job by job id.
- If the job is already completed or failed, returns 404.
- If the job is currently running ("active"), returns 409 and cannot be cancelled.
- Only jobs in "waiting" or "delayed" state can be cancelled.
delete/api/v1/context/add-async/{id}/cancel
Path parameters
idstring required
Job ID to cancel
Response
Job cancelled successfully
Example response
{
"success": true,
"jobId": "job_01HXYZABC",
"status": "cancelled",
"message": "Job cancelled successfully"
}Changes
Changed in 4 of the 29 revisions of this API.13
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ○
api operation id
cancelParticularJobInAddContextAsyncwas addedapi-operation-id-added
- ○
- ○
endpoint added
endpoint-added
- ○