Sazabi
APIRuns

Cancel a run

POST
/runs/{runId}/cancel

Request cancellation of an in-flight run. Idempotent and best-effort: returns success even when the run has already reached a terminal status.

Path Parameters

runId*string

Run ID of the in-flight run to request cancellation for.

Formatuuid

Response Body

application/json

curl -X POST "https://example.com/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel"
{  "success": true}