validate
Validate a workflow definition without creating or modifying anything — a distinct operation from create/update. Accepts the same request body as workflow create, including the yaml field (authored workflow YAML source, compiled server-side). Returns the compiled workflow; validation failures return the same structured errors as create.
Authentication
Request
Authored workflow YAML source. When set, the server compiles it into the canonical workflow structures (steps, prompts, routes) — the other definition fields (extract, customSteps, outputRoutes, leafFields, steps) are derived from it and must be omitted. An extraction-definition-only YAML (groups + field prompts, no workflow block) has its workflow definitions scaffolded server-side.
Workflow-level prompt template values used by fixed and custom workflow step prompts.
Workflow-level custom extraction steps. Legacy fixed steps remain under steps.
Custom leaf-field metadata used to validate route integrity and executable-step field counts.

