curl --request POST \
--url https://control-plane.kubiya.ai/api/v1/executions/{execution_id}/cancel \
--header 'Authorization: Bearer <token>'{
"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.
curl --request POST \
--url https://control-plane.kubiya.ai/api/v1/executions/{execution_id}/cancel \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?