v36

latestOpenAPI 3.0.3GNU General Public License v3.0raw.githubusercontent.com2026-08-017758212.6 KB
workflow

Cancel a job

Cancel a specific job for the authenticated user.

Idempotent: a job that is already in a terminal state (completed, failed, cancelled) or already cancelling is treated as a successful no-op and returns 200. Only truly missing or cross-user jobs return 404.

post/api/jobs/{job_id}/cancel

Path parameters

job_idstring uuid required

Job identifier (UUID)

Response

Success - Cancel request accepted (or job was already terminal)

cancelledboolean required

True when a cancel event was successfully dispatched by this call. False when the job was already in a terminal or cancelling state, in which case the call is a no-op (still 200 — idempotent).