It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Finding out request left until I hit the API rate limit

This question is in reference to Atlassian Documentation: Rate limits

I will like to find out how many request are left before I hit the API rate limit. Ideally also the timestamp when the limit will be reset. GitHub returns this information on every API response headers:

X-RateLimit-Limit,
X-RateLimit-Remaining,
X-RateLimit-Reset

Something similar would be nice to have, or maybe there is a separate API call to retrieve this info?

 

2 answers

0 votes

That would certainly be nice and this is something we are looking into. At the moment however there is no way to predict when rate limiting will occur.

You could keep track yourself by counting your requests and comparing them to the hourly allotment to the published maximums: https://confluence.atlassian.com/bitbucket/rate-limits-668173227.html#Ratelimits-Requestlimits but I will agree that this is cumbersome.

The linked document does not help anyone using the endpoints not covered by the listed 3.  Your own documentation lists eight top level endpoints, not to mention all the sub-endpoints.  What are the limits for these endpoints?

 

 

Are the rate limits per user per hour, or per team per hour?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted yesterday in United States

Atlassian Government Symposium

Good day members, Not sure if you are aware that Atlassian will be hosting a Government Symposium on May 1st, 2019 in Washington DC. For more details please click here If you have any questions...

14 views 0 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you