camelAI Documentation

API Reference

Queues, Limits, and Errors

Concurrency is enforced per account across all API keys and endpoint formats

Automatic queueing

When every subscribed stream is active, the connection stays open until a slot is available. No client-side retry is needed while queued.

Queue headers

Successful responses include x-camel-queue-ms and x-camel-stream-limit.

StatusMeaning
400The request body is invalid or missing required input.
401The API key is missing, invalid, or revoked.
402The account does not have an active stream subscription.
429An upstream rate limit was reached; respect Retry-After when present.
502The inference service could not be reached.
503A stream slot could not be acquired; retry after the Retry-After delay.