Skip to main content

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

Successful Response