Error Response Format
| Field | Type | Description |
|---|---|---|
code | string | Machine-readable error code for programmatic handling |
message | string | Human-readable error description |
detail | object | null | Additional context when available |
HTTP Status Codes
| Status | Meaning |
|---|---|
400 | Bad Request. Invalid input or validation error. |
401 | Unauthorized. Invalid or missing API key. |
403 | Forbidden. Valid API key but insufficient permissions. |
404 | Not Found. Resource does not exist. |
409 | Conflict. Resource already exists or state conflict. |
500 | Internal Server Error. Contact support if persistent. |
Handling Errors
Use thecode field for programmatic error handling:
Retries
For5xx errors, retry with exponential backoff. For 4xx errors, fix the request before retrying.