Skip to content

Validate a workflow graph (structural + reference resolution)

POST
/workflows/validate

Validate a workflow without saving. Returns errors + warnings + missing_references so an MCP client can repair before retrying create.

The inner config is normalized the same way create/update do so a caller can validate hybrid/ReactFlow shapes and get a clean answer instead of a structural error from a key the validator didn’t expect.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

WorkflowValidateRequest: {config: {nodes, edges, start_node_id}}.

object
key
additional properties
any

Responses

200

Successful Response

object
key
additional properties
any

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string