![](/rp/kFAqShRrnkQMbH6NYLBYoJ3lq9s.png)
Power BI REST APIs for embedded analytics and automation
2023年8月31日 · The Power BI REST APIs provide service endpoints for embedding, administration, governance and user resources. With Power BI REST APIs you can do the following: Manage Power BI content. Perform admin operations. Embed Power BI Content
Reports - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Exports the specified report from the specified workspace to a Power BI .pbix or .rdl file. Export To File Exports the specified report from My workspace to the requested file format .
Develop with the REST APIs for Power BI Report Server
2024年2月7日 · The REST API provides programmatic access to the objects in a Power BI Report Server catalog. Examples of objects are folders, reports, KPIs, data sources, datasets, refresh plans, subscriptions, and more.
Datasets - Execute Queries - REST API (Power BI Power BI REST …
The tenant setting Dataset Execute Queries REST API, found under Integration settings, must be enabled. The user must have dataset read and build permissions. For more information, see Manage dataset access permissions .
Reports - Get Reports - REST API (Power BI Power BI REST APIs)
You can retrieve user information on a Power BI report by using the Get Report Users as Admin API call, or the PostWorkspaceInfo API call with the getArtifactUsers parameter. webUrl string
Embed Token - Generate Token - REST API (Power BI Power BI …
Example of generating an embed token for a Power BI report with a dataset which is connected with Direct Query to another Power BI dataset. All related dataset IDs must be specified in the request with 'xmla Permissions' set to 'Read Only'.
Datasets - Get Datasources - REST API (Power BI Power BI REST APIs)
The Power BI data source connection details. See examples in Get Datasources or Get Datasources In Group.
Admin - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Returns a list of Power BI items (such as reports or dashboards) that the specified user has access to. Users GetUserSubscriptionsAsAdmin Returns a list of subscriptions for the specified user.
Dashboards - Get Dashboard - REST API (Power BI Power BI REST …
You can retrieve user information on a Power BI dashboard by using the Get Dashboard Users as Admin API call, or the PostWorkspaceInfo API call with the getArtifactUsers parameter. webUrl string
Gateways - Create Datasource - REST API (Power BI Power BI REST …
See the Create Gateway DataSource PowerShell script for an example of using this API, this script uses the PowerShell script mentioned in the note below for encrypting the credentials.