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):
| Limit | Default | Notes |
|---|
Concurrent busy agents (concurrencyLimit) | 25 | Checked via GET /v2/me (busyAgents.limit) and GET /v2/billing |
Request rate limit (rateLimitRpm) | 600 req/min | Token-bucket per tenant (429 rate_limited) |
Monthly spend cap (monthlyCapUsd) | $1,000 | Returned by GET /v2/billing |
| Limit | Value |
|---|
Agent run maxSteps | Default 25, clamped to 1..100 |
Stateless run (POST /v2/runs) maxSteps | Default 10, clamped to 1..25 |
actor length | 1..200 characters |
keyScope length | 1..100 characters |
| Local WebSocket tool timeout | 30 seconds per tool call |
| Workflow QuickJS timeout | 120 seconds (1,000,000 interrupt ticks) |
Workflow wf.sleep(ms) | Clamped to 0..10,000 ms (2,000 ms max per invocation) |
MCP requestState size | 64 KiB |
| Runtime tool identity JWT TTL | 2 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
| Limit | Value |
|---|
GET /v2/repos/:repoId/read-all max files | 1,000 files |
GET /v2/repos/:repoId/read-all max total size | 16 MiB |
Attachments (files) per run | 20 files |
| Native model image size (before resize) | 3.75 MiB (5 MiB hard cap, 8,000 px max side) |
| Automatic resize for oversized image attachments | Scales down images up to 32 MiB to fit 1,568 px max side (image/jpeg) |
| Images per model request | 40 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
| Limit | Value |
|---|
| SVG render JSON request body | 16 MiB |
| SVG markup size | 1 MiB |
| Rendered PNG output pixels | 4,194,304 pixels (2048 x 2048) |
SVG input files count | 16 PNG or JPEG images |
| Per-input image size | 10 MiB raw, 4,096 px max side, 4,194,304 pixels |
| Combined input base64 data | 14 MiB |
<textbox> text measurements | 400 per render |
Image moderation (POST /v2/moderations/images) | 5 MiB (image/jpeg or image/png) |
Voice calls and voice search
| Limit | Value |
|---|
| Active voice calls per tenant | 50 (configurable via AGENT_VOICE_SESSIONS_PER_TENANT) |
Voice call maxMinutes | Default 240, allowed 1..720 |
Voice call instructions | 8,000 characters |
Voice call sdp offer | 64 KiB |
Voice call metadata | 4 KiB serialized JSON |
Voice call speakers | 50 entries, max 40 characters per display name |
Voice transcript utterance text | 4,000 characters (seconds 0..600) |
Voice session TTL (/v2/voice/sessions) | 15 minutes |
Voice search limit (GET /v2/voices/search) | 1..50 (default 10) |