Export workflow as Agent Spec JSON
Convert a FlowDrop workflow to Agent Spec format and return it.
The conversion:
- Maps FlowDrop node types to Agent Spec component types
- Splits unified edges into control_flow_connections and data_flow_connections
- Stores FlowDrop-specific data (positions, dynamic ports) in metadata extensions
- Validates the workflow for Agent Spec compatibility before export
Authorizations
JWT token for authentication
Path Parameters
Workflow UUID
Query Parameters
Output format (document wraps flow with agent/tools/LLM config)
flow, document Response
Agent Spec JSON exported successfully
- Option 1
- Option 2
Agent Spec Flow — a directed, potentially cyclic graph of nodes. Flows function as "subroutines" encapsulating repeatable processes. They separate control-flow (execution order) from data-flow (data routing).
flow Flow name
"document_processing"
Reference to the StartNode name
"start"
All nodes in the flow
Union of all Agent Spec node types. Discriminated by component_type.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
Execution order edges
Human-readable description
Data routing edges. When null, data flows by matching input/output property names across connected nodes.
Extension metadata