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

Documentation Index

Fetch the complete documentation index at: https://docs.subconscious.dev/llms.txt

Use this file to discover all available pages before exploring further.

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