FlowDrop Docs
API referenceAgent spec

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

GET
/workflows/{id}/validate/agentspec

Authorization

AuthorizationBearer <token>

JWT token for authentication

In: header

Path Parameters

id*string

Workflow UUID

Formatuuid

Response 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"  ]}