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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
UdaySutar
Frequent Visitor

how to get pipeline run status from monitor screen using notebook in Fabric

how to get pipeline run status from monitor screen using notebook in Fabric

1 ACCEPTED SOLUTION
Vinodh247
Solution Supplier
Solution Supplier

Try programmatically access the pipeline run metadata using the Fabric REST APIs, specifically the Pipeline API.

  • Fabric notebooks automatically use the current workspace and identity, so you can use MsiTokenProvider to get a token for REST API calls
  • You need the workspace ID and pipeline ID. You can get these from the pipeline URL in Fabric Monitor or Pipeline editor & run the API call ( For Ex:

    https://app.fabric.microsoft.com/groups/<workspace_id>/pipelines/<pipeline_id>

    )
  • You can pick the data you need, for example if you want to pick the recent runs: 
latest_run = runs.get('value', [])[0]
print(f"Latest Run Status: {latest_run['status']}")
​
  • Ensure Fabric REST APIs are available in your tenant (may require admin consent in some environments)
Please 'Kudos' and 'Accept as Solution' if this answered your query.

Regards,
Vinodh
Microsoft MVP [Fabric]

View solution in original post

4 REPLIES 4
Vinodh247
Solution Supplier
Solution Supplier

Try programmatically access the pipeline run metadata using the Fabric REST APIs, specifically the Pipeline API.

  • Fabric notebooks automatically use the current workspace and identity, so you can use MsiTokenProvider to get a token for REST API calls
  • You need the workspace ID and pipeline ID. You can get these from the pipeline URL in Fabric Monitor or Pipeline editor & run the API call ( For Ex:

    https://app.fabric.microsoft.com/groups/<workspace_id>/pipelines/<pipeline_id>

    )
  • You can pick the data you need, for example if you want to pick the recent runs: 
latest_run = runs.get('value', [])[0]
print(f"Latest Run Status: {latest_run['status']}")
​
  • Ensure Fabric REST APIs are available in your tenant (may require admin consent in some environments)
Please 'Kudos' and 'Accept as Solution' if this answered your query.

Regards,
Vinodh
Microsoft MVP [Fabric]
v-prasare
Community Support
Community Support

Hi @UdaySutar,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?

 

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

v-prasare
Community Support
Community Support

Hi @UdaySutar,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?

 

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

v-prasare
Community Support
Community Support

Hi @UdaySutar,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?

 

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Weeks

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (27)