Update a workflow
Change a workflow’s name, description, inputs, steps, or connections.
steps replaces the whole list. Everything is checked like Create a workflow.
The state before the change is saved as a version you can restore in the app.
The owner, or a workspace owner, admin, or member (a viewer gets 403). Needs workflows:write. MCP tool: update_workflow.Authorizations
Headers
Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.
1 - 255Body
Only what is sent changes. Each save keeps the previous state as a version.
The steps, in the same JSON the app saves: [{id, name, type, config, on_error, retries}]. type is one of the executor's step types (skill, workflow, http, code, transform, agent,...). A skill step names the skill in config.skill; a workflow step in config.target_workflow_id. Steps read inputs as {{inputs.}}.
Response
The workflow after the change.
A workflow as an API: what it takes and returns, its track record and endpoints.

