Get rate limit status for the Github Apps installed #43215
-
Select Topic AreaQuestion BodyI want to know a way ( API Endpoint ) to get the rate limit status of the Github Apps with-in our organizations. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
There is an endpoint for authenticated users: https://docs.github.com/en/rest/rate-limit?apiVersion=2022-11-28 In many cases it'll be simpler and more efficient to just look at the |
Beta Was this translation helpful? Give feedback.
-
After juggling for two days, I was finally able to get the rate-limits for GH app.
|
Beta Was this translation helpful? Give feedback.
After juggling for two days, I was finally able to get the rate-limits for GH app.
It was my lack of understanding of GH Apps or Github Apps could have a better documentation, but here is how you do it.
You need to authenticate as an installation for GH App ( https://docs.github.com/en/developers/apps/building-github-apps/authenticating-with-github-apps#authenticating-as-an-installation ) and then you can use