Core Concepts
Rate Limiting
Understand Interna's rate limits and how to handle them in your application.
Rate Limit Tiers
| Plan | Requests/min | Burst |
|---|---|---|
Free | 60 | 10 |
Pro | 600 | 100 |
Enterprise | 6,000 | 1,000 |
Response Headers
| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests per window |
X-RateLimit-Remaining | Remaining requests in current window |
X-RateLimit-Reset | Unix timestamp when the window resets |
Handling Rate Limits
The SDK automatically retries rate-limited requests with exponential backoff. You can configure retry behavior:
rate-limit-config.ts
const client = new Interna({
apiKey: process.env.INTERNA_API_KEY!,
retries: 3,
retryDelay: 1000, // ms
});