cURL
curl --request POST \ --url https://control-plane.kubiya.ai/api/v1/executions/{execution_id}/cancel \ --header 'Authorization: <api-key>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Cancel an active execution by calling Temporal’s workflow cancellation.
This is triggered when the user clicks the STOP button in the UI. It uses Temporal’s built-in cancellation which is fast and returns immediately.
Successful Response
Was this page helpful?