Partially update a workflow; replacing definition re-validates the same typed React Flow graph as create.
agent_ids appears in the body (including []), all agent links are replaced; [] clears links. If definition appears, it is fully replaced and validated like POST /v1/workflow (same discriminated node and data types as Create workflow).
Sends only the fields you want to change; include definition only when replacing the entire React Flow graph.API key required to authenticate requests.
Partial update for workflows_v2.
New name for the workflow
1 - 255Set owning agents, or null to clear agent links (must belong to your organization when set).
New description (set empty string to clear if your client sends it)
Full React Flow definition when replacing the graph. Same shape as create: each node needs a top-level id; each edge needs a top-level id unique among edges.
Successful Response
Single workflows_v2 row.
Workflow ID
Name of the workflow
Stored React Flow graph (start / single / options nodes). Nodes and edges use top-level string id fields; edge id values are unique within the graph.
Creation timestamp
Owning organization ID (set by middleware on create)
Linked agent ids when the workflow is agent-scoped
Description
Present on PUT responses when the definition was updated. Keys: updated, created, marked_stale, skipped, errors.