
00u16ho09f8I3BXgP1t1.4848750068914048E12 (Customer) asked a question.
I would like to create automated application usage reports. I am able to get usage reports via the reporting function within Okta itself but I was wondering if there was a way via the API to pull those same numbers? In the OktaAPI.psm1 there is a "Get-Events()" function that looks promising but I'm having issues getting the info I need and I'm wondering if it's because this spcific info isn't available via the API?

Currently the reports within the Okta dashboard are not public in terms of the API build out at this time.
Though there is an enhancement request for automated reports that you can up vote on here - https://ideas.okta.com/app/#/case/106113?section=requests
Thanks for the reply. That post seems to be more about being able to email reports on a schedule but I upvoted it non the less.
It does seem possible to pull logs though. Could I not pull the logs for a certain application, filter by time and eventType=user.authentication.sso, and then count the number of entries? Would that give a rough estimation of account usage based on time?