Forum Discussion
How to Retrieve Tag Associations for Reports via Fabric REST API/Power BI REST API
- 9 months ago
Hi ShijuKuchelan,
Have you checked following endpoints?
https://learn.microsoft.com/en-us/rest/api/fabric/core/items/get-item?tabs=HTTP
https://learn.microsoft.com/en-us/rest/api/fabric/core/items/list-items?tabs=HTTP
These have been recently introduced. Before May it wasn't possible to retrieve them.
This is a sample JSON Output of the get-item endpoint:{ "id": "XXXXXXXXXX-ceb2-XXXXXXXXXX-92c3-XXXXXXXXXX", "type": "Lakehouse", "displayName": "fab_lakehouse", "description": "", "workspaceId": "XXXXXXXXXX-23b8-XXXXXXXXXX-9204-XXXXXXXXXX", "folderId": "XXXXXXXXXX-f48b-XXXXXXXXXX-acce-XXXXXXXXXX", "tags": [ { "id": "XXXXXXXXXX-3132-XXXXXXXXXX-b541-XXXXXXXXXX", "displayName": "Financial" } ] }Hope that helps
Onur
😊If this post helped you, feel free to give it some Kudos! 👍
✅And if it answered your question, please mark it as the accepted solution.
Hi ShijuKuchelan,
Have you checked following endpoints?
https://learn.microsoft.com/en-us/rest/api/fabric/core/items/get-item?tabs=HTTP
https://learn.microsoft.com/en-us/rest/api/fabric/core/items/list-items?tabs=HTTP
These have been recently introduced. Before May it wasn't possible to retrieve them.
This is a sample JSON Output of the get-item endpoint:
{
"id": "XXXXXXXXXX-ceb2-XXXXXXXXXX-92c3-XXXXXXXXXX",
"type": "Lakehouse",
"displayName": "fab_lakehouse",
"description": "",
"workspaceId": "XXXXXXXXXX-23b8-XXXXXXXXXX-9204-XXXXXXXXXX",
"folderId": "XXXXXXXXXX-f48b-XXXXXXXXXX-acce-XXXXXXXXXX",
"tags": [
{
"id": "XXXXXXXXXX-3132-XXXXXXXXXX-b541-XXXXXXXXXX",
"displayName": "Financial"
}
]
}Hope that helps
Onur
😊If this post helped you, feel free to give it some Kudos! 👍
✅And if it answered your question, please mark it as the accepted solution.