RelayrtcDocs
Get started
Documentation
REST API v1

Rate limits

Handle request limiting and Retry-After responses.

On this page

Limits

The API limits management requests by instance, IP address, key, project and room. Counters are local to each API process. Defaults are deployment settings, not guaranteed cloud quotas.

ScopeDefault requests per minute
API instance10,000
Client IP600
API key1,200
Project3,000
Room1,200

Media delivery limits

Public playback, DVR and asset-object delivery use separate instance and client-IP budgets for GET, HEAD and OPTIONS requests. Management metadata and grant issuance use the management budgets above.

ScopeDefault requests per minuteDeployment setting
Media delivery instance100,000API_MEDIA_REQUESTS_PER_NODE_PER_MINUTE
Media delivery client IP12,000API_MEDIA_REQUESTS_PER_IP_PER_MINUTE

These limits cover paths under /v1/playback/{streamId}/{sessionId}/{name}, /v1/dvr/{streamId}/{windowId}/{name} and /v1/assets/{assetId}/{name}. An HLS viewer fetches multiple manifests and segments; do not estimate request usage from grant issuance alone.

Response

A limit returns HTTP 429, code: 'RATE_LIMITED' and a retry-after header in seconds.

Retry behavior

Wait for Retry-After before another request. The Node SDK retries eligible GET requests within the configured deadline. It does not automatically retry writes.

Matching SDK builds expose the parsed delay as RelayApiError.retryAfterMs. If the cooldown cannot fit within the remaining request deadline, the original HTTP error is returned immediately. Forward its status and cooldown to your application's caller. Error handling describes these fields.

Do not poll runtime cleanup or usage endpoints in a tight loop.