Hi. There are seveal questions on this board regarding alerts for usage of api keys. I'm wondering if this can be scripted? Reading up on the ArcGIS API for Python, at first glance, it looks promising. There is an item.usage method, which accepts time range parameters. The api key is an item.
When I tried getting the usage for the api key, however, it returns an empty array, although the api has been used to create several service areas in the last week.

I'm guessing api keys usage is tracked differently from othe items?
So, the question is: Is there any way to retrieve api key usage via a script or automated method?
Thanks