Error shape
message field can be a string or an array of validation messages.
Common statuses
| Status | Meaning |
|---|---|
400 | Invalid request body, invalid file, invalid state transition, or invalid query |
401 | Missing, malformed, revoked, or invalid API key |
403 | The key owner does not have the required feature access |
404 | Resource not found or not owned by the key owner |
410 | Referenced file is no longer available on disk |
429 | Rate limit or monthly quota exceeded |
5xx | Unexpected YALG service error |
Validation errors
Validation errors normally return400 Bad Request. Fix the payload before retrying.
Ownership errors
For security, cross-owner resource access usually returns a not-found response. Treat404 as either missing or inaccessible.