Unkey comes with per-key ratelimiting out of the box. Set null to disable.
| Field | Type | Required | Description |
|---|---|---|---|
type |
operations.PutV1KeysKeyIdType | ✔️ | Fast ratelimiting doesn't add latency, while consistent ratelimiting is more accurate. Learn more |
limit |
number | ✔️ | The total amount of burstable requests. |
refillRate |
number | ✔️ | How many tokens to refill during each refillInterval. |
refillInterval |
number | ✔️ | Determines the speed at which tokens are refilled, in milliseconds. |