Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Needs more info comment that > 10 days [ID: 963198]
Comment such as: SPAM, non-actionable [ID: 963127]
Resolved actionable follow-up comments [ID: 963027]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
-----------------------
For automatic alerting on our side we'd love to see an API feature where i can use my API Key to get a response that gives me the limits for this key (and or why it is currently blocked).
SITUATION: We are a paying customer and use several API Keys for different servers to access the Google Directions API. And we do so in different contexts of our application. We've bee running into quota issues for production multiple times before - often self made problems. This time it was the rollout of an development key (quota 2500 per day) on our production machine. The other day we we're running into an error where our hourly quota broke as we had a programming error in our program logic.
Fetching remaining Quota automatically would be awesome!
We'd be able to restrict our keys, distribute them on our servers and we could have custom dashboards or handle alerts automatically. I guess checking the limits / quota has to be a rather fast process by now as you have to do it on every request, so maybe it would not be too complicated to provide an endpoint where we as the API users can get quota stats for our api keys as well?
Note: Checking the Web dashboard is not an option, it is a reactive way, involves humans... is slow and error prone when you use multiple keys.