Skip to main content
POST
/
runs
/
{runId}
/
cancel
Cancel a run
curl --request POST \
  --url https://api.subconscious.dev/v1/runs/{runId}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "runId": "<string>",
  "status": "canceled"
}

Authorizations

Authorization
string
header
required

Bearer token authentication using your API key generated on the Subconscious platform

Path Parameters

runId
string
required

The ID of the run to cancel

Response

Run canceled successfully

runId
string
required

Unique identifier for the run

status
enum<string>
required

Status after cancellation

Available options:
canceled