Skip to main content

Import a flow as a new draft

POST 

/v1/pathways/:id/import

Import a complete flow_json (typically AI-authored) as a new draft version, optionally activating it with ?activate=true. Hard-gated by validation — an import must be activatable as-is; on failure nothing is written and the errors come back (400). Requires an owner-bound key whose owner is an engineer.

Request

Responses