Rate limits
Rate limits are applied per tenant over a rolling one-minute window. Every API key in your tenant draws from the same budget, so requests made with one key count against the others.
Default limit
| Window | Default limit | Applies to |
|---|---|---|
| 1 minute | 1,000 requests | Your tenant |
Vieu can configure a different limit for your tenant. Contact your Vieu representative if your integration needs more throughput.
Individual endpoints may enforce more restrictive limits. See each endpoint's documentation for details.
Rate-limit headers
Every response includes the standard RateLimit-Policy and RateLimit headers. RateLimit reports how many requests remain (r) and the number of seconds until the window resets (t):
RateLimit-Policy: "1000-in-1min"; q=1000; w=60
RateLimit: "1000-in-1min"; r=998; t=42
When you exceed the limit
The API returns 429 Too Many Requests with a Retry-After header that gives the number of seconds to wait:
{
"code": "ERR_RATE_LIMIT",
"message": "Too many requests, please try again later"
}
Wait for Retry-After before you retry, and cap the number of retries. See errors and retries for a bounded backoff strategy.