Sign in
Docs
0%

Concepts

Limits

What bounds a call, a stream, a socket, a key and a webhook, and how a refusal looks.

Every bound is enforced and every refusal is labelled. The numbers here are the platform's today; a change is announced in the changelog.

WhatBoundRefusal
requests per key1000 per second at the gateway, bursts to 2000429 rate_limited; every answer carries X-RateLimit-*
token requests20 per 10 seconds per client address429 at the identity provider
request body2 MiB413 payload_too_large
answer4 MiB500 internal (a product that can exceed it pages instead)
calls in flight on one socket64rate_limited on the 65th
socket frame from the client256 KiBthe frame is refused, the socket stays open
open streams per key or person32 event streams, sockets and MQTT connections together429 rate_limited with Retry-After: 1; MQTT CONNACK 0x97
open streams per account128the same
the account's event streams10 open at once, all its keys together (the events service's own bound)429 rate_limited
a stream's or a socket's life24 hoursthe stream ends with unavailable; MQTT DISCONNECT 0xA0
an idle socket5 minutes with no call in flight and no frameclosed with code 1000, reason idle
a revoked key's open streamsend within secondsunauthenticated; MQTT DISCONNECT 0x87
webhook endpoints10 per accountthe 11th is refused
webhook deliveries in flight4 per endpointthe next waits its turn; nothing is dropped
webhook payload64 KiBnone: events carry ids and stay far below it
test inbox1 per account, for 24 hoursa second create answers the inbox you have
test inbox requests keptthe last 50the oldest is dropped
test inbox request body64 KiB413 payload_too_large
test inbox requests60 per minute per inbox429 rate_limited
MQTT packet256 KiBreason code 0x95, the connection closes
MQTT QoS 1 messages in flight16 (Receive Maximum)reason code 0x93, the connection closes
MQTT subscriptions32 per connectionreason code 0x97 for the 33rd
MQTT keep-aliveup to 300 secondsa longer one is lowered to 300 in CONNACK

Daily allowances

The budget is the account's monthly units (Usage and units). Beside it, a product bounds what one caller does per day (tokens, sandbox runs, pages), well above any plan, against abuse, and says so in its own section; the answer carries what is left (…_left_today) where the product reports it, and the day resets at 00:00 UTC. A caller over a daily bound gets 429 rate_limited with a retry detail.

Fairness

The per-key rate limit is abuse protection, not a plan. A plan's number is its monthly allowance in units (Usage and units); the console shows an account's usage against it.