Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Develpoers,
I looking for any REST API or any script that can give me Power BI Dataset's datasource related all information like how many tables used, table name, source type: SQL or Web, like whatever information I can fetch.
I tried 1 REST API:
Datasets - Get Datasources
https://api.powerbi.com/v1.0/myorg/admin/datasets/{dataset ID}/datasources
but this is giving me very high level information like-
I am also looking for more information about all the field name and definitions, I cannot find this basic information anywhere. For example what is the datasourceinstanceid??
Hi @Anonymous,
I'd like to suggest you take a look at power bi metadata scanning API if helps with your scenario:
Metadata scanning - Power BI | Microsoft Learn
Admin - WorkspaceInfo GetScanResult - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Regards,
Xiaoxin Sheng
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |