v29

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-1415662.1 KB
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

successboolean required
jobIdstring required
statusstring required
messagestring required

Example response

{
  "success": true,
  "jobId": "job_01HXYZABC",
  "status": "cancelled",
  "message": "Job cancelled successfully"
}
All 15 operations