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.
Projects
A Project in Throttlr maps to a single API key. Think of it as one application or service you want to protect.- Each project has one API key
- Rules and logs are scoped to that project
- Deleting a project deletes its API key, all rules, and all logs
Example project layout
Rules
A Rule defines a rate limit policy. Each rule has:| Field | Description |
|---|---|
| Name | Unique identifier used in SDK calls (e.g. send_email) |
| Limit | Max number of requests allowed per window |
| Window | Duration of the window in seconds |
| Algorithm | FIXED_WINDOW or SLIDING_WINDOW |
Rule names are your contract
The rulename is the string you pass to limiter.check(). If you rename a rule in the dashboard, you must update your code too, or checks will fail.
Identifiers
An identifier is the key you use to track individual entities. It’s not stored in the rule itself — you provide it at check time.(rule, identifier) has its own counter in Redis.