Skip to content

Commit d575fb6

Browse files
authored
[Fundamentals] Update api-rate-limits.mdx
PCX-18463 Documenting the new headers in the dev docs From https://developers.cloudflare.com/changelog/2025-09-03-rate-limiting-improvement/
1 parent 26ccc75 commit d575fb6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/content/partials/fundamentals/api-rate-limits.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,13 @@ Some specific API calls have their own limits and are documented separately, suc
3232
- [Gateway Lists API](/cloudflare-one/policies/gateway/lists/#api-rate-limit)
3333

3434
Enterprise customers can also [contact Cloudflare Support](/support/contacting-cloudflare-support/) to raise the Client API per user, GraphQL, or API token limits to a higher value.
35+
36+
The following headers that are always returned on calls to the Cloudflare API:
37+
38+
- `X-RateLimit-Limit`: Total Number of requests the caller can make
39+
- `X-RateLimit-Remaining`: Number of requests before Rate Limit kicks in
40+
41+
And these headers are returned only when a rate limit has been reached (error code: 429):
42+
43+
- `Retry-After`: Number of Seconds until more capacity is available, rounded up
44+
- `X-RateLimit-Reset`: RFC 1123 Formatted Date as to when more capacity is available

0 commit comments

Comments
 (0)