Export flow
export_flowExport a saved Wavelength flow in the requested format. mermaid returns a Mermaid flowchart string. json returns the title, graph_nodes, and graph_edges. svg returns a self-contained SVG with node shapes, colors, and arrows. drawio returns a valid mxfile/mxGraphModel XML for draw.io. SVG and drawio use stored node positions, or auto-layout when the flow has none. No flow content is sent to any third-party service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | The export format: mermaid, json, svg, or drawio. | |
| flow_id | Yes | The id of the flow to export. |