openfga.dev icon indicating copy to clipboard operation
openfga.dev copied to clipboard

Document the standard Rate Limit headers that the SDK implements

Open rhamzeh opened this issue 2 years ago • 0 comments

Currently the SDKs expect:

  • X-RateLimit-Limit: The maximum number of requests in a time period.
  • X-RateLimit-Remaining: The number of requests remaining in the current rate limit window.
  • X-RateLimit-Reset: the time at which the current rate limit window resets in UTC epoch seconds"

We're also considering support for Retry-After

rhamzeh avatar Feb 12 '24 18:02 rhamzeh