Skip to Content
Zelitho Docs

Rate Limits & Fair Use

Production rate limits, loop protection for autonomous AI agents, pagination bounds, and error codes.

Reading computed data over the REST API costs 0 action credits. To protect workspaces against runaway agent loops (while (true) bugs), hard sliding-window limits apply at both the connection and workspace level.

Production Safety Limits

Scope / ResourceLimitWindow
Per Connection (Read API)60 requestsper 60 seconds
Per Workspace (Read API)300 requestsper 60 seconds
Expensive Read Routes30 requestsper 60 seconds
Pairing Initiation (/auth/pairings)5 attemptsper 10 minutes per IP
Pairing Status PollingMin 5s interval10 min pairing TTL

Response Size & Pagination Caps

  • Default Page Size (limit): 25 items
  • Maximum Page Size (limit): 50 items
  • Max Response Payload Size: 90 KB (92,160 bytes)
  • Max Control Plane Request Body: 8 KB (8,192 bytes)

Handling 429 Too Many Requests

When a connection exceeds 60 requests / minute, the gateway returns HTTP 429:

{
  "error": {
    "code": "rate_limit_exceeded",
    "message": "Rate limit exceeded. Retry shortly."
  },
  "request_id": "38e6cd56280f2a7588538e..."
}

Wait at least 5 to 15 seconds with exponential backoff before retrying.

Standard Error Codes

HTTP StatusCodeMeaning
400invalid_requestMissing required header (Content-Type: application/json), invalid scope, or missing query param (e.g. resource on /catalog).
401unauthorizedExpired (15 min), malformed, or revoked zla_ token. Rotate using zlr_ refresh token.
403insufficient_scopeRequested scope was not granted to the underlying key/connection.
404resource_not_foundEndpoint or workspace record does not exist yet (e.g. no completed visibility run).
409pairing_already_pendingWorkspace already has an active pending pairing slot.
429rate_limit_exceededConnection or IP rate limit reached. Back off and retry.

On this page