DataStream 2 limits each client to 20 requests per minute. Exceeding this limit results in a 429 error response. Consider this when calling successive operations as part of a loop.

All responses specify these rate limit headers:

  • X-RateLimit-Limit: The maximum number of tokens allowed.

  • X-RateLimit-Remaining: The number of tokens remaining. Except for any subsequent requests that reduce the number, this gradually increments until it reaches the X-RateLimit-Limit.

  • X-RateLimit-Next: If the X-RateLimit-Remaining has reached 0, this ISO 8601 timestamp indicates when you can next make an additional request.