Skip to content

docs(spec): add limits introspection endpoint to HTTP IP rate limiting spec - #51

Merged
fclairamb merged 1 commit into
mainfrom
docs/http-ip-rate-limiting-spec
May 11, 2026
Merged

fclairamb merged 1 commit into
mainfrom
docs/http-ip-rate-limiting-spec

Conversation

@fclairamb

Copy link
Copy Markdown
Owner

Summary

  • Extends the HTTP IP rate limiting spec (specs/todos/2026-05-11-01-http-ip-rate-limiting.md) with a GET /api/mgmt/limits introspection endpoint.
  • The endpoint is public (no auth required) and exempt from rate limiting, so rate-limited clients can still query their remaining budget and recovery window.
  • Returns rate-limit config (requestsPerMinute, burst, callerRemaining) and concurrency config (max, callerInFlight) for the calling IP.
  • Spec-only change — no implementation yet.

Test plan

  • Spec review: verify the endpoint design and field definitions are consistent with the rest of the rate-limiting spec

🤖 Generated with Claude Code

…g spec

Adds GET /api/mgmt/limits — a public, unauthenticated endpoint that returns
the server-wide rate-limit and concurrency config plus the calling IP's current
state (remaining tokens, in-flight count). Exempt from rate limiting so
rate-limited clients can still query their recovery window.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@fclairamb
fclairamb enabled auto-merge (squash) May 11, 2026 22:21
@fclairamb
fclairamb merged commit 9b33f23 into main May 11, 2026
11 checks passed
@fclairamb
fclairamb deleted the docs/http-ip-rate-limiting-spec branch May 11, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant