Skip to main content
POST
Cancel Queued Run
Cancels a workflow run that has not started executing yet. Only runs with status QUEUED can be canceled.
Once a run moves to STARTING, RUNNING, or any terminal status, cancellation is not possible. The API returns a 409 error.

Parameters

string
required
Unique identifier for the workflow run to cancel. Returned as run_id when you create a run.
string
required
Bearer token. Format: Bearer slat_<your-token>.

Response

Returns 200 OK with the canceled run details.
string
required
Unique identifier for the canceled run.
string
required
Updated status. Always CANCELED on success.
string
required
Timestamp when the run was canceled. ISO 8601 format.

Example

Response

Status codes

What’s next