Validate

POST/api/validate

Validate RenderGraph

Accepts a RenderGraph object and returns validation results without queuing a render.

Request body: A JSON object with a renderGraph field.

Response — valid:

json
{ "valid": true, "diagnostics": [] }

Response — invalid:

json
{
  "valid": false,
  "diagnostics": [
    { "level": "error", "message": "Duration must be positive", "path": "meta.durationSeconds" }
  ]
}

The validator checks schema correctness, dimension validity, duration positivity, timeline structure, and required field presence.

Next Steps