Skip to content

Add rate limit headers to API responses #548

Description

@imDarshanGK

Summary: Clients are not informed about current rate limit status leading to surprise 429s.

  • Context: Standard headers like X-RateLimit-* improve client behavior and UX.
  • Expected: Include headers exposing limit, remaining, and reset time on responses.
  • Suggested fix: Enhance rate limiting middleware to set headers on all relevant responses.
  • Notes: Document headers in API docs and ensure consistency across routes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions