I am trying to retrieve the “Postman API Usage” information from the /me API endpoint for my account, but it does not include it in the response.
When I access the URL Postman, I can see my Postman API Usage and when it will be reset (once per month). I tried to figure out this information via the Postman API, but it includes some other properties, not the ones that I am looking for.
Is there another endpoint in the Postman API that I can request/query this information?
Is there any plan to include this field in the currently mentioned endpoint?
I have a dashboard that shows the state of my services and other stuff that I use. I also use Postman CLI to run some tests in CI pipelines (using GitHub Actions). So, the first reason would be to track the usage in my dashboard without needing to access the Postman Billing page.
Usually, I ran out of calls to Postman before the date it resets (in my case, the 12th of each month). I need to switch off the test steps in GH workflows and switch them back again after they reset.
If I have this information in the API response (like how many requests I still have or if it was exhausted), I can decide in runtime whether or not to run the tests without a human/user/manual intervention like I do right now.
I use a temporary Selenium solution that accesses the billing page and extracts the information. This is not the best solution and can break anytime since the interface or URLs can change.
I can’t see any technical reason API does not include this property. Maybe it is a commercial/business reason?
Thanks @guistracini - I’ve also spoken to the team to see if anything has changed here as I believe that we previous displayed the Postman API usage on the /me endpoint.