Error Format
Every error response has the same shape:Status Codes
| Code | Name | Description |
|---|---|---|
400 | Validation Error | Bad input — message is specific (e.g., "name is required") |
401 | Authentication Error | Invalid or missing API key / access token |
402 | Insufficient Balance | Balance too low for the query — includes extra fields |
403 | Forbidden | Wrong role or not authorized |
404 | Not Found | Resource doesn’t exist |
409 | Conflict | Duplicate resource |
500 | Server Error | Internal error (generic message) |