Deep-copies a flow into a new project-owned flow. The copy carries the source’s description, branching mode, linked agents, flow-level expectations and flow-owned metrics. A scripted flow copies its whole step graph; an improv flow copies its variants (personas, briefs, expectations). Duplicating a Roark-managed flow is how you customise it. Voicemail flows are Roark-managed and cannot be duplicated.
Calls POST /v1/customer-flow/{flowId}/duplicate
Arguments
Options
Title for the copy. Defaults to “Copy of” the source flow.
Agents to link on the copy. Omit to carry the source flow’s agents over. Required when the source is a Roark-managed flow with no agents of its own. Repeatable.
Example
Every command also takes the global options and sets one
of the exit codes.