Rate limits

The request limits per route family (capture, flags, query, management, MCP, sign-in), the RateLimit headers, and how to back off.

Embed
Preview of the card
<a href="https://lucidace.com/help/rate-limits"><img src="https://lucidace.com/help/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/2f4b888b-c4e6-488b-81bd-6e838fb12d2e/pages/c437b633-6974-4526-913c-ef5c9faab56f/social-card.svg?v=3e7ae33eec8b" alt="Rate limits" width="600" height="315"></a>

Every limiter answers an empty bucket with 429 and a Retry-After in whole seconds. Wait at least that long, then back off with jitter. Buckets refill continuously, so a short pause is usually enough. The defaults below apply unless the operator sets the variable shown.

Route family

Limit (sustained, burst)

Bucket

Setting

Capture (POST /v1/capture, /v1/batch, /v1/replay and the other ingest routes)

1000 events/s, burst 2000

per project. A batch costs one token per event; a key with its own quota uses that rate

LC_RATE

Capture, public keys only

100 events/s, burst 200

per client IP, on top of the project bucket

none

Flags (/decide, /v1/flags, OFREP, remote config)

100 evaluations/s, burst 200

per project, separate from capture

LC_FLAG_RATE, LC_FLAG_BURST

Management API (/v1/* on the API host)

50 requests/s, burst 100

per API key, per session, or per client IP when anonymous. Lucida's own services are not limited

LC_API_RATE, LC_API_BURST (0 turns it off)

Query (POST .../query and the SQL API)

API keys 120 queries per minute, people in the web app 600 per minute

per caller and project, on top of the management bucket. An API key query also reads at most 10 GiB

LC_RATE_TIERS (plan multipliers, such as free=1,pro=3), LC_QUERY_KEY_MAX_BYTES

MCP (/mcp)

5 requests/s, burst 20

per credential

LC_MCP_RATE, LC_MCP_BURST

Sign-in and account flows

login 30 per 15 min per IP and 10 per 15 min per email; sign-up 20 per hour per IP; password reset 20 per hour per IP and 5 per hour per email; MFA 10 per 15 min per user; invites 100 per hour per org and 30 per hour per user

per IP, email or user

LC_RATE_LOGIN_IP, LC_RATE_LOGIN_EMAIL, LC_RATE_SIGNUP_IP, LC_RATE_RESET_IP, LC_RATE_RESET_EMAIL, LC_RATE_MFA_USER, LC_RATE_INVITE_ORG, LC_RATE_INVITE_USER (each max/seconds)

Plan quotas (events per month) are separate. Going over answers 429 with a quota message, not a rate message. See Capture over HTTP.

The management API keeps its buckets in memory per replica, so a deployment with N API replicas allows up to N times the rate in total.

Headers

Capture, flags and management responses carry the IETF draft RateLimit set:

Header

Meaning

RateLimit-Limit

bucket size (the burst)

RateLimit-Remaining

whole tokens left

RateLimit-Reset

seconds until the bucket is full again

Retry-After

on 429 only: seconds to wait

Browsers can read them: the capture and flags hosts expose them with Access-Control-Expose-Headers. Slow a batch sender down when RateLimit-Remaining nears zero, instead of waiting for the 429. A query 429 names the class that ran out (key, user or toolbar) in its detail.

Updated