Workflows
Cancel every run of a workflow
Each run not ended is canceled (its waits and timers go); sends already accepted and webhook requests already handed out are not recalled. Audited `workflow.cancel_runs` with the count.
POST
Each run not ended is canceled (its waits and timers go); sends already accepted and webhook requests already handed out are not recalled. Audited workflow.cancel_runs with the count.
bearerheader
AuthorizationBearer <token>id*stringFormat
uuidSuccess
application/json- response
canceled*integerFormat
int64Range
0 <= valueobject*stringworkflow_id*stringFormat
uuidcurl -X POST 'https://api.exx.sh/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel-runs'Example Response
{ "canceled": 0, "object": "string", "workflow_id": "03e70e31-d7a4-4401-a629-6a4b6096cdfe"}Delete a workflow DELETE
With its versions, its runs and their history. Sends already accepted and webhook requests already made are not recalled. Audited `workflow.delete`.
Duplicate a workflow POST
A new draft with the workflow's draft and a new signing secret. Audited `workflow.duplicate` (target the copy, `from` the original).