Skip to main content
POST
/
v1
/
runs
/
cancel
Bulk cancel runs
curl --request POST \
  --url https://api.skyvern.com/v1/runs/cancel \
  --header 'Content-Type: application/json' \
  --data '
{
  "run_ids": [
    "<string>"
  ]
}
'
{
  "cancelled": [
    "<string>"
  ],
  "failed": [
    "<string>"
  ]
}

Headers

x-api-key
string | null

Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.

Body

application/json
run_ids
string[]
required

List of run IDs to cancel

Maximum array length: 100

Response

Successful Response

cancelled
string[]
required

Run IDs that were successfully cancelled

failed
string[]
required

Run IDs that could not be cancelled