Diagnose an arbitrary in-memory workflow graph for the given workflow.
This is the authoritative validation surface for unsaved frontend editor state. The route only checks workflow ownership/existence in MongoDB, then diagnoses the raw graph payload supplied by the caller.
Validate an in-memory workflow graph and return any structural issues. This is the authoritative validation surface for the workflow editor — both for an unsaved draft (passingDocumentation Index
Fetch the complete documentation index at: https://docs.retab.com/llms.txt
Use this file to discover all available pages before exploring further.
blocks and edges directly) and for
the persisted draft (fetching them first via
Get Workflow Entities and
forwarding them to this endpoint).
The check covers:
| Severity | Meaning |
|---|---|
error | Must fix before publish — block runs would fail. |
warning | Should fix; runs may still succeed. |
info | Advisory only. |
is_valid is true when the issue list contains no errors. re_propagate
defaults to true so derived schemas are recomputed before validation —
turn it off if you’ve already propagated and want to validate the cached
shape.
The Python SDK exposes a one-shot helper that fetches the persisted draft
and POSTs it for you: