Documentation Index
Fetch the complete documentation index at: https://docs.throttlr.yashjejurkar.me/llms.txt
Use this file to discover all available pages before exploring further.
GET /rules/get-rules?apiKeyId={projectId}
Headers: Authorization: Bearer <token>
Query Parameters:
| Param | Required | Description |
|---|
apiKeyId | ✅ | The project ID to scope rules to |
Response (200):
[
{
"id": "rule_abc123",
"name": "send_email",
"limit": 10,
"window": 3600,
"algorithm": "FIXED_WINDOW",
"apiKeyId": "api_key_id_here",
"createdAt": "2026-03-22T14:39:47.730Z"
},
{
"id": "rule_def456",
"name": "login_attempt",
"limit": 5,
"window": 60,
"algorithm": "SLIDING_WINDOW",
"apiKeyId": "api_key_id_here",
"createdAt": "2026-03-22T15:10:00.000Z"
}
]