Skip to main content

Rate limits

Ingest limits are counted per team. Every key, worker and process that emits for the same team draws on the same budget.

The per-minute ceilings apply to direct API traffic only: events that reach Santati through a trail's ingest URL are relayed and never refused per minute; only requests to POST /api/v0/events/ count.

Ceilings​

PlanRequests per minuteEvents per minute
Free601,000
Starter3005,000
Growth60010,000
Enterprise3,00050,000

Both ceilings are per team, over a 60-second window. A batch counts as one request against the request ceiling and as one event per item against the event ceiling, so a 500-event batch costs 1 request and 500 events. See Batching.

Daily event limit​

Only the Free plan has a daily event limit: 1,000 events per team per UTC day, reset at 00:00 UTC. It counts every source: API requests, relayed events and imports. Events over the limit are refused with quota_exceeded; a relayed event over it is dropped and not stored. A request refused with rate_limited or quota_exceeded stores nothing and does not count toward the day, so retrying it is safe.

Paid plans have no daily limit. Each includes a number of stored events (your volume times your retention); events above it are billed, never refused. See pricing for what each plan includes.

The 429 response​

A request that would cross a ceiling is refused before anything is written. The response is 429 Too Many Requests, carries Retry-After as a whole number of seconds, and uses the standard error envelope:

CodeRaised whenRetry-After
rate_limitedThe request or event ceiling for the current minute would be crossedSeconds until the current 60-second window rolls over
quota_exceededThe team's daily event limit would be crossedSeconds until 00:00 UTC

The request ceiling is checked first, then the event ceiling, then the Free plan's daily limit.

curl -i -X POST https://api.santati.io/api/v0/events/ \
-H "Authorization: Api-Key $SANTATI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"event": "invoice.voided", "trail": "billing", "organization_id": "org_acme_logistics"}'
{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded: at most 600 requests per minute per team.",
"field": null
}
}

The same response includes Retry-After: 37, meaning the current window has 37 seconds left.

Backing off​

  1. Honour Retry-After. It is the shortest wait that can succeed. Do not retry earlier, and do not treat 429 as a permanent failure — nothing was stored.
  2. Back off exponentially with jitter when a Retry-After header is missing. Randomising the delay spreads retries from many workers instead of synchronising them onto the next window boundary.
  3. Batch before you retry. A single batch of 500 events costs one request, so batching converts a request-ceiling problem into no problem at all. Retrying a 429 one event at a time is the fastest way to keep hitting the ceiling.
  4. Share one budget. Because the counters are per team, adding workers or keys does not raise the ceiling: coordinate retries across a fleet or they will exhaust each other's window.

If the counter store is unavailable, the limit check fails open — an infrastructure problem never drops your events, so you may see requests succeed unthrottled during an incident.