Success Envelope
A successful response hasok: true and a data value.
data can be an object, array, string, number, boolean, or null, depending on the endpoint.
Error Envelope
An error response hasok: false and an error object.
details may be included for validation issues or structured domain context:
Status Codes
| Status | Meaning |
|---|---|
400 | The request body, query, or path parameter is malformed. |
401 | The API key is missing, invalid, or expired. |
403 | The key is valid, but the caller cannot access the requested resource or capability. |
404 | The resource was not found. |
409 | The request conflicts with current state. |
422 | The request was readable but failed validation or domain rules. |
429 | The client is sending requests too quickly. |
500 | Server error or server misconfiguration. |
Common Error Codes
| Code | Meaning |
|---|---|
UNAUTHORIZED | Authentication is required or invalid. |
VALIDATION_ERROR | Request input failed validation. |
NOT_FOUND | The requested resource does not exist or is not visible to the caller. |
CONFLICT | The operation conflicts with current resource state. |
SERVER_MISCONFIGURED | The server is missing required configuration. |
error.code for product-specific handling.
Retry Guidance
| Status | Retry? |
|---|---|
400 | No. Fix the request. |
401 | No. Create or provide a valid API key. |
403 | No. Check permissions or account access. |
404 | Usually no. Verify the resource ID or path. |
409 | Retry only after changing the request or resource state. |
422 | No. Fix the request data. |
429 | Yes, after waiting. |
500 | Yes, with exponential backoff. |

