Pause a workflow
No new runs start; runs under way go on (cancel them with POST /workflows/{id}/cancel-runs). Audited `workflow.pause`.
No new runs start; runs under way go on (cancel them with POST /workflows/{id}/cancel-runs). Audited workflow.pause.
bearerAuthorizationBearer <token>id*stringuuidSuccess
application/json- response
A workflow: its draft definition and, once published, its latest version's number.
created_at*stringdeferred*integerRun starts put off while the project had max_concurrent_per_project runs under
way (tried again later, never dropped).
int64definition*The draft (docs/specs/workflow.schema.json, GET /workflows/schema).
id*stringuuidname*stringobject*stringpublished_version?|int32refused*integerRun starts the loop guard refused (the workflow in its own causal chain, or a chain
past max_chain_depth).
int64signing_secret?|Signs its webhook steps' requests (Standard Webhooks); in single reads by an API key only.
status*stringdraft (never published), active (its latest version starts runs) or paused.
throttled*integerRun starts its throttle refused.
int64unpublished_changes?|Whether the draft differs from the published version (always true before the first
publish), compared as the API reads both. A value the definition keeps (false, or
null in a rule or in properties) is a change; null for an optional field reads as
absent and is not, nor is what the API writes out itself (re-entry once, key
order). In single reads and changes, not in lists.
updated_at*stringcurl -X POST 'https://api.exx.sh/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08/pause'{ "created_at": "string", "deferred": 0, "definition": {}, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "object": "string", "published_version": 0, "refused": 0, "signing_secret": "string", "status": "string", "throttled": 0, "unpublished_changes": true, "updated_at": "string"}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).
Publish a workflow POST
Checks the draft (its shape, every step reachable, both branches of each condition and event wait, no loop, waits within limits.toml [workflows] max_run_age, templates published and passing the content scan, segments, topics, properties and rules of this project, webhook URLs the executor's egress guard calls: public https hosts) and stores it as the next immutable version; the workflow is active on it. Runs under way keep their version. Audited `workflow.publish`.