Skip to main content

Endpoint

Description

Cancels a queued or running task. Returns 202 Accepted when the cancellation is accepted for processing. If the task has already reached a terminal state, returns 409 Conflict.

Authentication

Required: Yes Include API key in header:

Request

Headers

Path Parameters

Body Parameters

Request Body Schema

Response

202 Accepted

409 Conflict

404 Not Found

401 / 403

or

Examples

curl

Python (httpx)

JavaScript (axios)

Notes

  • Idempotent: repeated calls return 202 or 409 depending on current state.
  • Cancellation is propagated to child workflows (graceful via REQUEST_CANCEL).