File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/content/docs/fundamentals/api/reference Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,14 @@ sidebar:
88import { Render } from " ~/components" ;
99
1010<Render file = " api-rate-limits" product = " fundamentals" params = { {showHeading: true }} />
11+
12+ ## Rate limiting headers
13+
14+ The following headers are returned when calling REST APIs:
15+
16+ - ` x-ratelimit-limit ` : The total number of requests a caller can make.
17+ - ` x-ratelimit-remaining ` : The number of remaining requests before the rate limit takes effect.
18+ - ` retry-after ` : The number of seconds, rounded up, until more capacity is available.
19+ - ` x-ratelimit-reset ` : The ` RFC 1123 ` formatted date when more capacity is available.
20+
21+ Cloudflare's SDKs will also automatically work with the headers and back off in response to rate limits.
You can’t perform that action at this time.
0 commit comments