Skip to main content

Validate a playbook definition

POST 

/api/v1/playbooks/validate

Answers what a create or update would be told about a definition, without writing: valid, and every graph problem it holds. A definition whose shape cannot be read is 400 VALIDATION_FAILED, as on a write.

With project_id, the references are checked too, as a write there would check them: the upstreams against that project's playbooks, and each executor the caller may start must exist (EXECUTOR_NOT_FOUND) and name an action its mcp tool allows (EXECUTOR_ACTION_REQUIRED, EXECUTOR_ACTION_UNAVAILABLE) and not be a client tool (EXECUTOR_TOOL_UNSUPPORTED), and each transformation's tool must not be a client or mcp tool (TRANSFORMATION_TOOL_UNSUPPORTED). The caller needs both playbooks:ValidatePlaybook and playbooks:ListPlaybooks on the project. Without it, only the definition's own graph is checked.

Request​

Responses​

Validation result