Read the response
Capture the HTTP status, error.code, error.message and X-Request-Id if present. Some requests fail before the gateway creates a ledger entry. Include the endpoint and client version when reporting issues. Remove all keys before sharing diagnostics.
| HTTP | What to check | Next step |
|---|---|---|
| 400 | Body and field types | Correct the input before retrying. |
| 401 | Project key, authorization header and revocation | Verify credentials with GET /v1/models. |
| 402 or 403 | Available organization balance and applicable budgets | Check wallet, project and key limits. |
| 404 | Endpoint, model ID or request ID | Confirm the path, project and model list. |
| 409 | Idempotency conflict, running operation or retained result | Inspect the exact error code and the existing job. |
| 422 | Estimate exceeds the cap | Reduce the workload or explicitly approve a larger cap. |
| 429 | Rate limit | Respect the response's retry information. |
| 5xx | Gateway or provider failure | Check the recorded request before resending. |
Look up a request
Open Request history or send GET /v1/requests/{id} with the same project credentials. A request still under reconciliation may show different execution and billing states. Cost caps and retries.