Retrieve a workflow
With its signing secret when an API key asks (a dashboard member rotates it to read a new one).
With its signing secret when an API key asks (a dashboard member rotates it to read a new one).
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 GET 'https://api.exx.sh/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "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"}Get the workflow definition schema GET
An exx extension: the JSON Schema (2020-12) of a workflow definition, version 1 (docs/specs/workflow.schema.json). Publishing also checks what a schema cannot: every step reachable, no loop, durations within limits.toml [workflows] max_run_age, and references into the project.
Update a workflow's draft PATCH
Renames it or replaces its draft definition. Published versions and runs under way never change; publish to make the draft the next version. Audited `workflow.update`.