| 401 | unauthenticated, invalid_api_key | The key is missing, revoked, expired or wrong. Create a new one in Settings → Team. |
| 402 | payment_required | Not enough credits. Top up, then retry. |
| 403 | forbidden, api_key_scope | Keys only call /v1; or your plan cannot use this model. |
| 404 | not_found | Wrong id, or the API is not enabled for this environment. |
| 409 | conflict | An Idempotency-Key was reused with a different body. Use a new key. |
| 422 | validation_error | A field is missing, unknown or out of range. See details. |
| 429 | rate_limited | Wait the number of seconds in Retry-After, then retry. |
| 5xx | internal_error | Retry with backoff; include trace_id if it persists. |