Reports - Get Reports In Group
Returns a list of reports from the specified workspace.
Required scope: Report.ReadWrite.All or Report.Read.All
To set the permissions scope, see Register an app.
Note: Paginated reports (rdl) don’t have a dataset. As a result, in the API response for paginated reports, the dataset ID value isn’t displayed.
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
group
|
path | True |
|
The workspace ID |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
Examples
example
Sample Request
GET https://api.powerbi.com/v1.0/myorg/groups/f089354e-8366-4e18-aea3-4cb4a3a50b48/reports
Sample Response
{
"value": [
{
"datasetId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047715",
"name": "SalesMarketing",
"webUrl": "https://app.powerbi.com/groups/f089354e-8366-4e18-aea3-4cb4a3a50b48/reports/5b218778-e7a5-4d73-8187-f10824047715",
"embedUrl": "https://app.powerbi.com/reportEmbed?reportId=5b218778-e7a5-4d73-8187-f10824047715&groupId=f089354e-8366-4e18-aea3-4cb4a3a50b48"
}
]
}
Definitions
|
Principal |
The principal type |
| Report |
A Power BI report. The API returns a subset of the following list of report properties. The subset depends on the API called, caller permissions, and the availability of data in the Power BI database. |
| Reports |
The OData response wrapper for a Power BI report collection |
|
Report |
A Power BI user access right entry for report |
|
Report |
Access rights user has for the report (Permission level) |
| Subscription |
artifact email subscription |
|
Subscription |
A Power BI email subscription user |
PrincipalType
The principal type
| Name | Type | Description |
|---|---|---|
| App |
|
Service principal type |
| Group |
|
Group principal type |
| None |
|
No principal type. Use for whole organization level access. |
| User |
|
User principal type |
Report
A Power BI report. The API returns a subset of the following list of report properties. The subset depends on the API called, caller permissions, and the availability of data in the Power BI database.
| Name | Type | Description |
|---|---|---|
| appId |
|
The app ID, returned only if the report belongs to an app |
| datasetId |
|
The dataset ID of the report |
| description |
|
The report description |
| embedUrl |
|
The embed URL of the report |
| id |
|
The report ID |
| name |
|
The name of the report |
| reportType |
enum:
|
The report type |
| subscriptions |
(Empty Value)The artifact subscription Details. It will be removed from the payload response in an upcoming release. To retrieve subscription information for report, please consider using the Get Report Subscriptions as Admin API. |
|
| users |
(Empty value) The artifact user access details. This property will be removed from the payload response in an upcoming release. You can retrieve user information on a Power BI item (such as a report or a dashboard) by using the Get Report Users as Admin API, or the PostWorkspaceInfo API with the |
|
| webUrl |
|
The web URL of the report |
Reports
The OData response wrapper for a Power BI report collection
| Name | Type | Description |
|---|---|---|
| odata.context |
|
OData context |
| value |
|
The report collection |
ReportUser
A Power BI user access right entry for report
| Name | Type | Description |
|---|---|---|
| displayName |
|
Display name of the principal |
| emailAddress |
|
Email address of the user |
| graphId |
|
Identifier of the principal in Microsoft Graph. Only available for admin APIs. |
| identifier |
|
Identifier of the principal |
| principalType |
The principal type |
|
| reportUserAccessRight |
Access rights user has for the report (Permission level) |
ReportUserAccessRight
Access rights user has for the report (Permission level)
| Name | Type | Description |
|---|---|---|
| None |
|
No permission to content in report |
| Owner |
|
Grants Read, Write and Reshare access to content in report |
| Read |
|
Grants Read access to content in report |
| ReadCopy |
|
Grants Read and Copy access to content in report |
| ReadReshare |
|
Grants Read and Reshare access to content in report |
| ReadWrite |
|
Grants Read and Write access to content in report |
Subscription
artifact email subscription
| Name | Type | Description |
|---|---|---|
| artifactDisplayName |
|
The subscribed artifact Name |
| artifactId |
|
The subscribed artifact ID |
| artifactType |
|
artifactType |
| attachmentFormat |
|
Format of the report attached in the eamil subscription |
| endDate |
|
The start date and time of subscription |
| frequency |
|
Frequency of Email Subscription |
| id |
|
The subscription ID |
| isEnabled |
|
subscription Enabled or not |
| linkToContent |
|
subscription link exists in email subscription |
| previewImage |
|
screenshot of the report exists in email subscription |
| startDate |
|
The start date and time of subscription |
| subArtifactDisplayName |
|
Page Name in case of Reports only |
| title |
|
The app name |
| users |
The Email subscribee Details. This value can be null when Get Subscirpions By User As Admin API is called. It will be removed from the payload response in an upcoming release. To retrieve subscription information on an artifact please consider using the Get Dashboard or Report Subscriptions as Admin API. |
SubscriptionUser
A Power BI email subscription user
| Name | Type | Description |
|---|---|---|
| displayName |
|
Display name of the principal |
| emailAddress |
|
Email address of the user |
| graphId |
|
Identifier of the principal in Microsoft Graph. Only available for admin APIs. |
| identifier |
|
Identifier of the principal |
| principalType |
The principal type |