Calling REST APIs for monitoring data
Performance metrics can be extracted from the Power BI service using REST API calls. These can be executed from PowerShell or an application development tool. These calls return JSON structures that can be read into a report or database. Keeping this data historically can assist with long-term planning and overall monitoring. The following is a list of common calls for monitored Power BI resources:
- Reports: API call to get a list of reports from a workspace or related to a semantic model:
- Groups: API call to get a list of workspaces in a capacity:
- Capacities: API call to get a list of capacities the logged-in user has access to:
- Datasets: API call to get a list of semantic models. This call can be filtered by the workspace and other attributes:
GET
https://api.powerbi.com/v1.0...