Start typing to search.

API Reference

Validate task YAML without saving

View Markdown
POST /api/tasks/validate

Validate task YAML without saving

Operation IDvalidateTaskYaml

Authentication

  • BearerAuth·http bearer·API key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.

Request body

This request body is required.

Content typeapplication/json

requestobject
1 property
yaml_contentstringrequired

Success response body

200Validation result

Validation result

Content typeapplication/json

responseobject
4 properties
validboolean
step_countinteger
connectorsarray<string>
Array items
itemstring
issuesarray<object>
Array items
itemobject
4 properties
severitystring
messagestring
stepstring
fieldstring

Error responses

400Validation error

Validation error

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "VALIDATION_ERROR",
  "message": "Invalid input"
}