Validate workflow for Agent Spec export
Check if a FlowDrop workflow can be exported as Agent Spec. Returns validation errors and warnings without performing the export. Checks include: - Exactly one start node (terminal/trigger type) - At least one end node (terminal/output type) - Gateway nodes have branches defined - All nodes are reachable from start This checks Agent Spec export compatibility only. For general workflow validation before execution, see `POST /workflows/validate` under **Validation**.
JWT token for authentication
In: header
Path Parameters
Workflow UUID
uuidResponse Body
application/json
application/json
application/json
curl -X GET "https://example.com/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08/validate/agentspec"{ "valid": true, "errors": [ "string" ], "warnings": [ "string" ]}Import workflow from Agent Spec JSON POST
Convert an Agent Spec flow or document to a FlowDrop workflow. The conversion: - Maps Agent Spec component types to FlowDrop node types - Merges control_flow_connections and data_flow_connections into unified edges - Auto-layouts nodes if no position metadata is present - Preserves Agent Spec component_type in FlowDrop extensions This is the Agent Spec counterpart of the FlowDrop-native `POST /workflows/import` under **Import and Export**.
Clear chat conversation history DELETE
Clear the conversation history for a workflow's chat session. This resets the chat context, starting a fresh conversation.