PATCH /rest/workflows/{workflow_id_or_name}
nodes object is keyed by node name:
null.node_type and configuration (required for new nodes). See Node & Column Types for available node types.| Field | Merge Behavior |
|---|---|
nodes | Merge by name - update matching, keep unmentioned, remove null |
nodes[name].configuration | Deep merge with existing config |
nodes[name].dependencies | Full replace (not merged) |
nodes[name].is_output_node | Update if specified |
required_input_variables | Full replace if specified |
edges | Full replace if specified, otherwise copied from base |
release_labels | Move labels to new version |
| Status Code | Error |
|---|---|
| 400 | Validation error, no output nodes, invalid dependencies |
| 401 | Missing or invalid API key |
| 404 | Workflow not found, base version not found |
Your API key for authentication.
The ID or name of the workflow to update.
Request body for partially updating a workflow.
The version number to base changes on. Defaults to the latest version.
A message describing the changes.
Node updates keyed by node name. Use null to remove a node.
If provided, replaces the input variables entirely.
If provided, replaces edges entirely.
Labels to attach to the new version.
Workflow version created successfully
Response after creating or patching a workflow.
Indicates if the request was successful.
The ID of the workflow.
The name of the workflow.
The ID of the created workflow version.
The version number.
The base version this was created from (PATCH only).
Labels attached to this version.
Summary of nodes in the workflow.
Required input variables for the workflow.