Skip to main content

Power BI

Completed

Need a REST API to get Dataflow refresh history

Vote (12) Share
Greg Galloway's profile image

Greg Galloway on 28 Dec 2019 02:59:11

Datasets have a GET /refreshes API to retrieve the refresh history. We need one similar for Dataflows. There is a POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/{dataflowId}/refreshes API to start a refresh but there's no API to monitor the success/failure of that refresh currently. Please add a GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/{dataflowId}/refreshes

Administrator on 14 Jun 2021 18:10:39

Dataflows Refresh History REST API - https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getrefreshhistory

Comments (2)
Greg Galloway's profile image Profile Picture

Pavel Janata on 06 Jul 2020 00:05:57

RE: Need a REST API to get Dataflow refresh history

Same idea https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/38235106-dataflow-rest-api-get-refresh-history

Greg Galloway's profile image Profile Picture

Greg Galloway on 06 Jul 2020 00:05:16

RE: Need a REST API to get Dataflow refresh history

To be clear, the GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/{dataflowId} API does get the last refreshTime for each partition in each entity. But it does not contain a success/failure status for the last Dataflow refresh run. So there's no way for me to perform actions from an orchestration tool upon refresh failure of any part of the Dataflow.