Skip to main content
POST
/
v1
/
runs
/
{run_id}
/
cancel
Cancel a run by id
curl --request POST \
  --url https://api.skyvern.com/v1/runs/{run_id}/cancel
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

x-api-key
string | null

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

Path Parameters

run_id
string
required

The id of the task run or the workflow run to cancel.

Response

Successful Response