rate_limit_per_minute and rate_limit_per_day). When a limit is exceeded, Clausum responds with 429 Too Many Requests.
Defaults
| Window | Default |
|---|---|
| Per minute | 100 requests |
| Per day | configurable per key |
Limits are enforced per API key. Use separate keys for distinct workloads (e.g. checkout vs. batch jobs) so a burst in one doesn’t throttle the other.
Response headers
When rate limiting is active, responses include:| Header | Description |
|---|---|
X-RateLimit-Remaining | Requests left in the current window |
X-RateLimit-Reset | When the window resets |
Handling 429s
Back off and retry with jitter:Tips
Assess once per decision
Assess once per decision
Call
/assess at the point of decision, not on every keystroke. Use the browser SDK for client-side pre-checks.Batch background work
Batch background work
For bulk operations, spread requests over time rather than firing them all at once.
Request a higher limit
Request a higher limit
Expecting high volume? Contact api@clausum.ai to raise your key’s limits.