Skip to content

Commit 8a9219c

Browse files
authored
Merge pull request #6181 from segmentio/DOC-843
Updated rate limits response for HTTP API source [DOC-843]
2 parents 28da673 + e36f11c commit 8a9219c

File tree

1 file changed

+3
-1
lines changed
  • src/connections/sources/catalog/libraries/server/http-api

1 file changed

+3
-1
lines changed

src/connections/sources/catalog/libraries/server/http-api/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ Segment welcomes feedback on API responses and error messages. [Reach out to sup
8585

8686
## Rate limits
8787

88-
For each workspace, Segment recommends you to not exceed 1,000 requests per second with the HTTP API. If you exceed this, Segment reserves the right to queue any additional events and process those at a rate that doesn't exceed the limit. To request a higher limit, contact [Segment](mailto:[email protected]).
88+
For each workspace, Segment recommends you to not exceed 1,000 requests per second with the HTTP API. If you exceed this, Segment reserves the right to queue any additional events and process those at a rate that doesn't exceed the limit. Requests that exceed acceptable limits may be rejected with HTTP Status Code 429. When Segment rejects the requests, the response header contains `Retry-After` and `X-RateLimit-Reset` headers, which contains the number of seconds after which you can retry the request.
89+
90+
To request a higher limit, contact [Segment](mailto:[email protected]).
8991

9092
For [`batch` requests](#batch), there's a limit of 500 KB per request.
9193

0 commit comments

Comments
 (0)