Response Headers
Monitoring Usage
Best Practices
- Implement exponential backoff
- Monitor remaining quota
- Batch operations where possible
- Use webhooks instead of polling
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Monitor your rate limit usage via response headers.
| Header | Description |
|---|---|
X-RateLimit-Limit | Max requests per window |
X-RateLimit-Remaining | Requests left |
X-RateLimit-Reset | Window reset timestamp |
response = client.with_raw_response.calls.list()
print(f"Limit: {response.headers['X-RateLimit-Limit']}")
print(f"Remaining: {response.headers['X-RateLimit-Remaining']}")
