Cancel one execution
POST
/v1/workflows/{id}/executions/{executionId}/cancelSecret key — sk_… or sk_test_… · Base URL https://api.volanea.com
Cancels an active or waiting execution. No-op error if it has already finished.
Path parameters
idstringrequiredWorkflow id.
executionIdstringrequiredExecution id.
Response
Cancelled.
successbooleanrequired
Errors
Every failure returns the standard envelope — branch on `code`, never on the wording of `error`.
401Missing or invalid API key.404Not found.409Already finished and can't be cancelled (`invalid_state`).422Request validation failed (code `validation_error`, 422).
Request
curl https://api.volanea.com/v1/workflows/id_123/executions/id_123/cancel \
-X POST \
-H "Authorization: Bearer sk_..."Response
200 · application/json
{
"success": true,
"data": {
"success": true
}
}92 endpoints · OpenAPI document