v1

latestOpenAPI 3.1.02026-07-26142186376.1 KB
Workflows

Cancel Workflow Run

Cancel a currently executing workflow run, stopping all active steps and cleanup. Note: Complex workflows with multiple parallel steps may take time to fully cancel.

post/workflows/{workflow_id}/runs/{run_id}/cancel

Path parameters

workflow_idstring required
run_idstring required

Query parameters

session_idstring nullable

Session ID the run belongs to. Required for non-admin JWT users.

Session ID the run belongs to. Required for non-admin JWT users.

Response

Successful Response

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