workflows

Validate a workflow graph without saving it

Changed on

Dry-run validation. ?gate=draft_save answers "would this save as a draft?" (completeness findings reported but non-blocking); the default activate answers "would this activate?" — the same split the MCP validate_workflow_graph tool exposes.

post/v1/workflows/revisions/{revision_id}/graph/validate

Request

Path parameters

revision_idstring uuid required

Query parameters

gate'draft_save' | 'activate'

Request body

compiled_graphobject required
base_versioninteger nullable

Response

Successful Response

validboolean required
error_countinteger required
warning_countinteger required
suggestion_countinteger required
normalized_graphobject nullable
blocking_error_countinteger nullable

Changes

    • info

      added the new optional query request parameter gate

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status