Errors and status codes
HTTP status code mapping for API errors.
| Code | When |
|---|---|
| 400 | Validation, routing, budget errors |
| 401 | Invalid or missing API key |
| 404 | Unknown agent, run, or approval |
| 429 | Rate limit exceeded |
| 500 | Unhandled execution error |
| 503 | Missing config or auth not configured |