Skip to content

Conversation

@julien-c
Copy link
Member

@julien-c julien-c commented Sep 22, 2025

@HuggingFaceDocBuilderDev

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.

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. |
Copy link
Member

@coyotte508 coyotte508 Sep 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

care to update directly on this branch?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did it: fac03f2

maybe @Wauplin will update this anyways when he implements the client-side in Python and JS 😂

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@pcuenca pcuenca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

julien-c and others added 2 commits September 22, 2025 18:40
@julien-c
Copy link
Member Author

Ok I'll merge this first version. Thanks everyone for the awesome help!!!! Love you!!

@julien-c julien-c merged commit 3dfa199 into main Sep 23, 2025
1 of 2 checks passed
@julien-c julien-c deleted the document-rate-limits branch September 23, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.