Cancel every in-flight execution

POST/v1/workflows/{id}/executions/cancel-all

Secret key — sk_… or sk_test_… · Base URL https://api.volanea.com

Cancels every active or waiting execution for this workflow. Already-finished executions are untouched.

Path parameters

  • idstringrequired

    Workflow id.

Response

How many executions were cancelled.

  • cancelledintegerrequired

Errors

Every failure returns the standard envelope — branch on `code`, never on the wording of `error`.

  • 401Missing or invalid API key.
  • 404Not found.
  • 422Request validation failed (code `validation_error`, 422).

Request

curl https://api.volanea.com/v1/workflows/id_123/executions/cancel-all \
  -X POST \
  -H "Authorization: Bearer sk_..."

Response

200 · application/json

{
  "success": true,
  "data": {
    "cancelled": 1
  }
}

92 endpoints · OpenAPI document