Skip to main content
GET
/
workflows
/
{id}
/
validate
/
agentspec
Validate workflow for Agent Spec export
curl --request GET \
  --url http://localhost:5173/api/flowdrop/workflows/{id}/validate/agentspec \
  --header 'Authorization: Bearer <token>'
{
  "valid": true,
  "errors": [
    "<string>"
  ],
  "warnings": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

JWT token for authentication

Path Parameters

id
string<uuid>
required

Workflow UUID

Response

Validation result

Result of validating a workflow for Agent Spec export

valid
boolean
required

Whether the workflow is valid for Agent Spec export

errors
string[]

Validation errors (must be fixed before export)

warnings
string[]

Validation warnings (may affect runtime behavior)