Errors and limits
Error format
{"error": {"code": "forbidden", "message": "…", "request_id": "6a1f…"}}Every response also carries x-request-id. Quote it when you report a
problem; it identifies the request in every service’s logs.
| HTTP | code | What to do |
|---|---|---|
| 400 | invalid_request | Fix the request; the message says what is wrong. |
| 401 | unauthorized | Missing, expired or revoked credential. People sign in again with /v1/auth/token. |
| 401 | sign_in_rejected | The Camel Accounts token was rejected, or the person is not a member. |
| 403 | forbidden | The role or key scope does not allow this, or the person was removed. |
| 404 | not_found | Not found in this workspace. |
| 409 | conflict | Stale version, a taken slug, or an archived agent. Reload and retry. |
| 429 | rate_limited | Too many requests. Retry after a minute. |
| 503 | unavailable | A platform service is unavailable. Retry with exponential backoff. |
| 500 | internal | Unexpected; report the request_id. |
Engine failures are never passed through: you get unavailable and the
details stay in the platform’s logs.
Limits
| Limit | Value |
|---|---|
| Requests per person or key | 600 per minute (operator-configurable) |
| Sign-in endpoints | 30 per minute per Camel token |
| JSON body | 2 MiB |
| File upload | 30 MiB |
| Run input | 48 KiB |
| Request timeout | 120 seconds (operator-configurable) |
| Agent steps per run | 1–64 (default 8) |
| Agent tokens per run | 1,000–1,000,000 (default 60,000) |
| Instructions | 32,000 characters |
| Tools per agent | 32 |
| Platform access token | about 5 minutes |