Enforce daily/monthly quota caps with reset windows #16

Open
opened 2026-07-01 01:01:15 +00:00 by manlycucumber · 0 comments
manlycucumber commented 2026-07-01 01:01:15 +00:00 (Migrated from github.com)

Problem

Beyond burst rate, keys have longer-period quotas. Once a key exhausts its quota it must be blocked until the window resets.

Acceptance criteria

  • A key that exceeds its quota for the current window receives a 429/403 with a clear over-quota error body
  • Quota windows reset on a defined boundary (e.g. UTC midnight / first of month)
  • The admin UI shows current consumption versus quota for each key
  • Quota state survives an app restart (does not silently reset)
## Problem Beyond burst rate, keys have longer-period quotas. Once a key exhausts its quota it must be blocked until the window resets. ## Acceptance criteria - [ ] A key that exceeds its quota for the current window receives a 429/403 with a clear over-quota error body - [ ] Quota windows reset on a defined boundary (e.g. UTC midnight / first of month) - [ ] The admin UI shows current consumption versus quota for each key - [ ] Quota state survives an app restart (does not silently reset)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Directorium/Site#16
No description provided.