Skip to Content
The Ngamia platform API is in preview. Endpoints may change before general availability.
ConceptsErrors and limits

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.

HTTPcodeWhat to do
400invalid_requestFix the request; the message says what is wrong.
401unauthorizedMissing, expired or revoked credential. People sign in again with /v1/auth/token.
401sign_in_rejectedThe Camel Accounts token was rejected, or the person is not a member.
403forbiddenThe role or key scope does not allow this, or the person was removed.
404not_foundNot found in this workspace.
409conflictStale version, a taken slug, or an archived agent. Reload and retry.
429rate_limitedToo many requests. Retry after a minute.
503unavailableA platform service is unavailable. Retry with exponential backoff.
500internalUnexpected; report the request_id.

Engine failures are never passed through: you get unavailable and the details stay in the platform’s logs.

Limits

LimitValue
Requests per person or key600 per minute (operator-configurable)
Sign-in endpoints30 per minute per Camel token
JSON body2 MiB
File upload30 MiB
Run input48 KiB
Request timeout120 seconds (operator-configurable)
Agent steps per run1–64 (default 8)
Agent tokens per run1,000–1,000,000 (default 60,000)
Instructions32,000 characters
Tools per agent32
Platform access tokenabout 5 minutes