Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Retrieving report content from API or tables associated from report.

Hey all,

I am using PowerBi Report Server (on-prem), I am looking to ways to get report metadata, tables and it's columns which are associated to the report in REST API.

As I have seen there isn't an official API for that, I heard there is an API for downloading the .pbix file, which I want to try to get the information from that file.

ChatGPT suggested:
curl --ntlm -u "username:password" -X GET "http://your-report-server/Reports/api/v2.0/PowerBIReports/{report-id}/Content/$value" -o "path_to_save_report.pbix"

but it was pure hullicanations and there isn't such endpoint from what I tested.

Would like some help


3 Replies