Skip to main content

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.

What is a Rule?

A rule defines how many requests are allowed for a specific action within a time window. Rules are scoped to a single project.

Creating a Rule

  1. Open your project from the Projects page
  2. Click the Rules tab
  3. Click New Rule
  4. Fill in the form:
FieldDescriptionExample
NameUnique identifier, used in SDKsend_email
LimitMax requests per window10
WindowDuration in seconds3600 (= 1 hour)
AlgorithmFixed or Sliding WindowFIXED_WINDOW
  1. Click Create — the rule is live immediately.
Use descriptive, snake_case names for rules. Your developers will use this string directly in code: limiter.check({ rule: "send_email" }).

Editing a Rule

Click the edit icon (pencil) on any rule card to update its limit, window, or algorithm. The rule name cannot be changed — if you need a new name, delete and recreate it.

Deleting a Rule

Click the delete icon (trash) on a rule card. A two-tap confirmation is required to prevent accidental deletions.
Deleting a rule will stop all enforcement for that rule name. Existing SDK calls for this rule will fail with an error.

Searching Rules

Use the search bar at the top of the Rules tab to filter rules by name.

Window Reference

Common window values in seconds:
ValueMeaning
1Per second
60Per minute
3600Per hour
86400Per day