Errors & rate limits

/ The error shape, status codes, and rate limits shared across every endpoint.

Error shape

{ "error": "Human-readable message" }

Status codes

StatusMeaningRetry?
400Malformed request. Fix the body and resendNo
401Missing or invalid credentialsNo
403Valid credentials, insufficient permission or planNo
404Agent not foundNo
413Payload too large (message over 4,000 chars)No
429Quota or rate limit exceededYes, respect Retry-After
500Unexpected server errorYes, with backoff
502Upstream model call failedYes, with backoff
503Service temporarily unavailable or overloadedYes, with backoff

Rate limits

Three sliding-window limits apply to chat and handoff-ticket requests, checked independently. A 429 response includes a Retry-After header, in seconds.

ScopeDefault limitWindow
Per IP30 requests60s
Per session20 requests60s
Per agent120 requests60s