Check a workflow's code without saving it
Compiles the source exactly as a save would and answers with the same verdict, but saves nothing: no version, no bundle, no history.
POST/v1/workflows/check
Use it whenever you are unsure what the compiler accepts, to try a call or a name, and to get the code right BEFORE the one save. Never save a version to find out. The answer is the compiler’s verdict on this version: ok, every error with its line and the fix, warnings, the graph the Automations tab draws and what the workflow can touch. Nothing is kept.
Requires the scopes workflows:read, schema:read. Operation my.workflows.check. MCP tool my_workflows_check. CLI: grid82 my workflows check (npx grid82).
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Idempotency-Key | string | no | Any unique string. Sending the same key with the same request again returns the first response (marked Idempotency-Replayed: true) instead of running it twice. Reusing it for a different request is refused with 409. Kept for 24 hours. Up to 255 characters. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
source | string | yes | Up to 65536 characters. |
Response
Success
dataobjectrequiredRefused
errorobjectrequired