jobs

Cancel Job

Cancel/delete an indexing job.

Maps to POST /v1/index-stop/{job_id}

Behavior:

  • If job is pending or running -> transition to cancelled
  • If job is already completed/failed/cancelled -> return 200 with current state (idempotent)

Returns:

  • job_id: The job identifier
  • status: Current status after cancel attempt
  • message: Human-readable description
  • cancelled_at: Cancellation timestamp (RFC3339)

Authentication: Requires Bearer token in Authorization header

delete/v2/jobs/{job_id}

Path parameters

job_idstring required

Headers

authorizationstring nullable

Response

Successful Response

cancelled_atstring nullable
cleanup_initiatedboolean nullable
job_idstring required
messagestring required
statusstring required

Changes

No recorded changes to this endpoint across all 1 revision of this API.