cURL
curl --request POST \ --url https://api.subconscious.dev/v1/runs/{runId}/cancel \ --header 'Authorization: Bearer <token>'
{ "runId": "<string>", "status": "canceled" }
Cancel a running or queued run. Returns the updated run with status ‘canceled’. No-op if run is already terminal.
Bearer token authentication using your API key generated on the Subconscious platform
The ID of the run to cancel
Run canceled successfully
Unique identifier for the run
Status after cancellation
canceled
Was this page helpful?