Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
MM280089
New Member

how to get list of reports along with height, width in c#.net api?

I'm trying to get report list with different properties such as report id, name, emabedded url, height, width etc in c# .net api.

I'm able to get the report list along with id, name, url but not able to get the report properties like height, width, pages etc. I can see we can do that via embedding each report which is not optimal. Is there any api which provides all list without embedding it? Because imagine if we've 1000 reports and need to sync each by embedding on client-side to get just the width, height and pages list.

 

Looking forward to get some positive responses. Thank you!

2 REPLIES 2
PowerBI_Student
Regular Visitor

Hi @MM280089 

Have you ever tried the getreportsasadmin API?

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.

Refer to: https://learn.microsoft.com/en-us/rest/api/power-bi/admin/reports-get-reports-as-admin#definitions 

 

Regards

Red

Yes, but few properties are missing like original height, width etc.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.