Rate limit exceeded (429)

The credential sent more requests than the current window allows.

Status: 429 Too Many Requests · type: https://api.sparkle.ai/errors/rate-limit

When it happens

The credential sent more requests than the current window's limit, which is its company's plan's requests a minute per key (rate_limit.exceeded), or 10 custom moment evaluations a minute per organization (rate_limit.custom_moment_evaluations), or the company is running as many live conversations as its plan allows (limit.concurrent_conversations; see Plans & limits). Every response gives the limit in X-RateLimit-Limit, what is left in X-RateLimit-Remaining, and when the window resets in X-RateLimit-Reset (Unix seconds).

How to fix it

Wait the number of seconds in the Retry-After header before trying again, and slow down: watch X-RateLimit-Remaining. Don't retry right away; every attempt counts toward the limit.

Example

HTTP/1.1 429 Too Many Requests
Retry-After: 42
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1771156842
{
  "type": "https://api.sparkle.ai/errors/rate-limit",
  "title": "Rate Limit Exceeded",
  "status": 429,
  "detail": "Rate limit exceeded",
  "instance": "/public/v1/webhooks",
  "code": "rate_limit.exceeded",
  "request_id": "req_abc123",
  "timestamp": "2026-02-15T12:00:00Z",
  "documentation_url": "https://docs.sparkle.ai/docs/api/errors/rate-limit"
}

On this page