Roll a flow back to an earlier version
Make an older version current.
Nothing is overwritten: the old config is written as a new version, so the rollback is itself revertible and the record of what ran when stays intact. A version that no longer validates — its enrichment was deleted, its dataset changed — is refused with the reasons.
Headers
API Key for authentication
Path Parameters
Flow identifier, e.g. fl_ab12cd34
Version number from GET /v1/flows/{flow_id}/versions
Body
Optional concurrency check, same semantics as on update.
Response
The restored flow and the version the rollback created
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.
One saved version of a flow. The list arrives newest first, so the first entry is the version the flow is currently on.