Forum Discussion
API - activityevents scheduled refresh
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-refreshable-for-capacity
I noticed as well the activity events api is only showing user events. It also does not show the amount of time that a refresh took to complete, I would advice to take the admin api to collect this info.
but if this is everything needed, you can also have a look at the fabric capacity metrics report.
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-refreshable-for-capacity
The joy of this app is that it has a dataset attached to it which you can query as well so even when it is direct query partly getting data out of it and bring it to some other place for longer historic measures is possible.
With this all I have to remind that it takes a while before all logging is in that dataset. So if you directly want to see what is going wrong.. I still ask the activity api and watch all schedules to be able to cancel the right refreshes or notify users of extensive usage.