camelAI Documentation

API Reference

camelRun v2 limits and quotas

Concurrency, rate limits, run step caps, CamelFS file and attachment budgets, SVG rendering caps, and voice call limits in camelRun v2.

View as Markdown

These limits are enforced by the camelRun v2 Worker and CamelFS runtime.

Tenant concurrency and rate limits

Default limits provisioned on a new tenant (POST /v2/tenants, configurable per tenant by operators):

LimitDefaultNotes
Concurrent busy agents (concurrencyLimit)25Checked via GET /v2/me (busyAgents.limit) and GET /v2/billing
Request rate limit (rateLimitRpm)600 req/minToken-bucket per tenant (429 rate_limited)
Monthly spend cap (monthlyCapUsd)$1,000Returned by GET /v2/billing

Agent runs, tools, and workflows

LimitValue
Agent run maxStepsDefault 25, clamped to 1..100
Stateless run (POST /v2/runs) maxStepsDefault 10, clamped to 1..25
actor length1..200 characters
keyScope length1..100 characters
Local WebSocket tool timeout30 seconds per tool call
Workflow QuickJS timeout120 seconds (1,000,000 interrupt ticks)
Workflow wf.sleep(ms)Clamped to 0..10,000 ms (2,000 ms max per invocation)
MCP requestState size64 KiB
Runtime tool identity JWT TTL2 minutes
Usage history query (GET /v2/usage?days=)1..365 days (default 30)
History import chunk (PUT /v2/agents/:idOrKey/history/import/chunk)1 MiB per request

CamelFS repositories and run attachments

LimitValue
GET /v2/repos/:repoId/read-all max files1,000 files
GET /v2/repos/:repoId/read-all max total size16 MiB
Attachments (files) per run20 files
Native model image size (before resize)3.75 MiB (5 MiB hard cap, 8,000 px max side)
Automatic resize for oversized image attachmentsScales down images up to 32 MiB to fit 1,568 px max side (image/jpeg)
Images per model request40 images (90 for Anthropic), up to 20 MiB combined base64 (newest first; older images stay readable via read_file / view_image)

SVG rendering (POST /v2/images/render) and image moderation

LimitValue
SVG render JSON request body16 MiB
SVG markup size1 MiB
Rendered PNG output pixels4,194,304 pixels (2048 x 2048)
SVG input files count16 PNG or JPEG images
Per-input image size10 MiB raw, 4,096 px max side, 4,194,304 pixels
Combined input base64 data14 MiB
<textbox> text measurements400 per render
Image moderation (POST /v2/moderations/images)5 MiB (image/jpeg or image/png)
LimitValue
Active voice calls per tenant50 (configurable via AGENT_VOICE_SESSIONS_PER_TENANT)
Voice call maxMinutesDefault 240, allowed 1..720
Voice call instructions8,000 characters
Voice call sdp offer64 KiB
Voice call metadata4 KiB serialized JSON
Voice call speakers50 entries, max 40 characters per display name
Voice transcript utterance text4,000 characters (seconds 0..600)
Voice session TTL (/v2/voice/sessions)15 minutes
Voice search limit (GET /v2/voices/search)1..50 (default 10)