Document rate limits#1944
Merged
Merged
Conversation
julien-c
requested review from
Pierrci,
SBrandeis,
VioletteLepercq,
coyotte508 and
gary149
September 22, 2025 15:26
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
coyotte508
reviewed
Sep 22, 2025
Comment on lines
+46
to
+47
| | **RateLimit-Remaining** | How many requests of this type you have left in the current window. | | ||
| | **RateLimit-Reset** | Number of seconds until the rate limit window resets (or until quota is refreshed). Uses a “delta-seconds” format to reduce clock sync issues. | |
Member
There was a problem hiding this comment.
Those two headers are removed in upcoming PR - the RateLimit-Limit header now contains "api|pages|resolvers";r=[remaining];t=[seconds remaining until reset] and the RateLimit-Policy header now contains "fixed window";"api|pages|resolvers";q=[total allowed for window];w=[window duration in seconds]
as per https://www.ietf.org/archive/id/draft-ietf-httpapi-ratelimit-headers-09.html
Member
Author
There was a problem hiding this comment.
care to update directly on this branch?
Member
Author
Wauplin
reviewed
Sep 22, 2025
Vaibhavs10
approved these changes
Sep 22, 2025
pcuenca
approved these changes
Sep 22, 2025
Co-authored-by: vb <vaibhavs10@gmail.com> Co-authored-by: Lucain <lucain@huggingface.co>
Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
VioletteLepercq
approved these changes
Sep 22, 2025
XciD
reviewed
Sep 23, 2025
hanouticelina
approved these changes
Sep 23, 2025
SBrandeis
approved these changes
Sep 23, 2025
Co-authored-by: Simon Brandeis <33657802+SBrandeis@users.noreply.github.com>
Member
Author
|
Ok I'll merge this first version. Thanks everyone for the awesome help!!!! Love you!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Direct link to the page: https://moon-ci-docs.huggingface.co/docs/hub/pr_1944/en/rate-limits