HTTP status codes
| Code | Meaning | Common causes |
|---|---|---|
400 | Bad Request | Invalid template, invalid blocks (bad JSON, unknown block types, empty array), malformed UUID in path |
401 | Unauthorized | Missing X-API-KEY header, invalid or revoked API key |
404 | Not Found | Run, canvas, or task does not exist or belongs to another account |
500 | Internal Error | Unexpected server error — details are logged server-side and not exposed to callers |