Skip to content

Commit 47f01ab

Browse files
Update .server-changes/additional-api-key-rate-limit-bucket.md
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent f6865a1 commit 47f01ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.server-changes/additional-api-key-rate-limit-bucket.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ area: webapp
33
type: fix
44
---
55

6-
API rate limiting is now bucketed per environment instead of per API key. Previously each key (root or additional) got its own bucket, so minting more keys multiplied an environment's effective rate limit. Now all of an environment's keys — root and additional, including scope-restricted keys — share one bucket, so the ceiling is exactly the configured limit. The bucket is keyed on the stable environment id (resolved scope-agnostically for bucketing only, never as an auth decision), and the result is cached per key so no extra per-request lookup is added. Public JWTs keep per-token bucketing.
6+
API rate limits now apply per environment, so creating extra API keys no longer increases how many requests an environment can make.

0 commit comments

Comments
 (0)