Flows
Replace a flow
Replace the whole flow. To change one node without resending the graph — and without risking the rest of it — use PATCH /v1/flows/{flow_id}/config instead.
PUT
Replace a flow
Body
application/json
Whole-flow replace. internal_version must be the value the last GET /v1/flows/{flow_id} returned.
Response
The updated flow
A flow plus the pieces needed to edit it. config is the graph, ui is editor-only metadata the runtime ignores, and internal_version is the concurrency token you send back on a write.