FlowDrop Docs
API referenceAgent spec

Validate Agent Spec flow on runtime

Validate an Agent Spec flow specification against the runtime without executing it. Checks for structural correctness, valid node references, and property compatibility.

POST
/agentspec/flows/validate

Authorization

AuthorizationBearer <token>

JWT token for authentication

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

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).

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/agentspec/flows/validate" \  -H "Content-Type: application/json" \  -d '{    "component_type": "flow",    "name": "document_processing",    "start_node": "start",    "nodes": [      {        "component_type": "start_node",        "name": "process_input"      }    ],    "control_flow_connections": [      {        "name": "start_to_process",        "from_node": "start",        "to_node": "process_input"      }    ]  }'
{  "valid": true,  "errors": [    "string"  ]}