Validate Workflow
POST
/api/v1/workflow/{workflow_id}/validateValidate all nodes in a workflow to ensure they have required fields. Args: workflow_id: The ID of the workflow to validate user: The authenticated user Returns: Object indicating if workflow is valid and any invalid nodes/edges
cURL example
curl -X POST \
'http://localhost:8000/api/v1/workflow/{workflow_id}/validate' \
-H 'Authorization: Bearer <API_KEY>'Parameters
| Name | Location | Type | Description |
|---|---|---|---|
workflow_idrequired | path | integer | — |
authorization | header | object | — |
X-API-Key | header | object | — |
Responses
200Successful Responseapplication/jsonView schema
{
"$ref": "#/components/schemas/ValidateWorkflowResponse"
}404Not found422Validation Errorapplication/jsonView schema
{
"$ref": "#/components/schemas/HTTPValidationError"
}