cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to fetch runs from cluster id in api

talha
New Contributor III

Task to achieve: We have cluster id and want to fetch all runs against it.

Currently I have to get all the runs, iterate through it and filter out the runs with the required cluster id.

Similarly if I want to fetch all the runs that are active?

3 REPLIES 3

Debayan
Databricks Employee
Databricks Employee

Hi,

Thanks for reaching out to community.databricks.com.

You can list a single job runs running in a job-cluster through this API : https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsRunsList.

If you are looking for an API for an All-purpose cluster , as of now, we do not have a cluster API (all-purpose cluster) to get all the runs in that cluster.

Vidula
Honored Contributor

Hi @Muhammad Talha Jamilโ€‹ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!

talha
New Contributor III

Wasn't able to resolve but got clarification that api does not exist. Thanks

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group