Compile + validate a spec or definition (no save)
POST/v1/workflows/validate
Compile and validate a workflow without saving anything.
Send either a YAML spec or a raw definition object. The response reports
valid: true or valid: false with the errors and warnings found — an
invalid workflow comes back as a normal 200, not an HTTP error, because you
are explicitly asking whether it would compile.
Nothing is persisted and no triggers are registered, which makes this safe to
call on every edit while you iterate. Requires the workflows:read scope.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
Successful Response
Error
Error
Error
Error
Validation Error
Error