Skip to main content
Validates the canvas graph and compiles it into two outputs:
  1. SkillManifest — Used by the skill system for marketplace listing, install, and prompt injection.
  2. WorkflowSteps — Used by the workflow engine for runtime execution.
The compiled output is saved on the canvas record. The canvas status transitions to "testing".

Validation Checks

  • Exactly 1 Input node
  • At least 1 reachable Output node
  • No cycles in the execution path
  • All nodes reachable from Input
  • Model nodes must have an upstream Prompt node
  • All node types must be valid (input, prompt, model, tool, knowledge, condition, output, vision)

Response (success)

Response (validation errors)

Status 422 is returned when validation fails.