Validate Workflow
workflow_validateCheck Workflow code without a production run. mode check validates inline source (before it is persisted) or one exact draft revision; mode fixtures runs that revision against isolated, no-network fixtures. Use before workflow_definition save, which requires a passing check, and before workflow_run. Makes no provider calls, so nothing is charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | check accepts either inline source or workflow_id plus revision. fixtures always requires workflow_id plus revision. | |
| source | No | Inline files or tenant-owned artifact for a pre-persistence check; mutually exclusive with workflow_id and revision. A successful inline check returns source_artifact_id. | |
| revision | No | Required with workflow_id for persisted draft checks and fixtures; exact current draft revision to validate. | |
| fixture_set | No | Optional named fixture export; valid only with persisted draft identity. | |
| workflow_id | No | Required with revision for persisted draft checks and fixtures; omit only for an inline source check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| validation | No | Check or fixture outcome. A successful inline check includes source_artifact_id for exact reuse during definition creation. |