Documentation Index
Fetch the complete documentation index at: https://houseofdragon-079a8546.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Step 1: Create a Project
- Go to the Throttlr Dashboard and sign in with Google.
- Click New Project and give it a name (e.g.
my-api). - Your project is created with a unique API Key — copy it from the API Key tab.
Step 2: Create a Rate Limit Rule
In your project dashboard, go to the Rules tab and click New Rule.| Field | Example Value | Description |
|---|---|---|
| Name | send_email | A unique identifier for this rule, used in SDK calls |
| Limit | 5 | Max requests allowed per window |
| Window | 60 | Time window in seconds |
| Algorithm | FIXED_WINDOW | Fixed or Sliding Window |
Step 3: Install the SDK
Step 4: Initialize & Check
Step 5: View Logs
Head to the Logs tab in your project dashboard. You’ll see every request checked by the SDK in real time, with status (✅ Allowed / ❌ Blocked), identifier, rule name, and timestamp.What’s Next?
SDK Reference
Full API for
check() and RateLimitermiddlewareAlgorithms Explained
Fixed Window vs Sliding Window — which should you use?