v60

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0283227863.6 KB
Runs

Cancel a run by id

Cancel a run (task or workflow)

post/v1/runs/{run_id}/cancel

Path parameters

run_idstring required

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

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

Headers

x-api-keystring nullable

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

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

Response

Successful Response

{"stackTrail":"paths:/v1/runs/{run_id}/cancel:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}