Forum Discussion
chamidu_sumanasekara
Nov 13, 2024Copper Contributor
Azure GIT API limits
Hi, We are implementing a application which will use Azure GIT APIs. we would like to know what are the limitations that we need to consider such as API rate limits. As per the documentation, there...
balasubramanim
Nov 14, 2024Iron Contributor
When using Azure DevOps Git APIs, here are key points on rate limits.
Global Limit - 200 requests per 5 minutes.
Headers - Rate limit headers (Retry-After, X-RateLimit-Remaining, etc.) show your remaining requests. These may only appear when you near the limit.
429 Response - Exceeding the limit returns a 429 (Too Many Requests). Use the Retry-After header to know when to retry.
Note:
Use exponential backoff for retries after a 429.
Batch requests to reduce API calls.
This approach helps stay within limits and prevents service disruptions.