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:ย 

Databricks - Jobs Last run date

zayeem
New Contributor

Is there a way to get the last run date of job(s) ? I am trying to compile a report and trying to see if this output exists either in databricks jobs cli output or via api?

1 ACCEPTED SOLUTION

Accepted Solutions

AmanSehgal
Honored Contributor III

Sure. Using Databricks jobs API you can get this information.

Use the following API endpoint to get list of all the jobs and their executions till date in descending order.

You can pass job_id as parameter to get runs of a specific job.

https://<databricks-instance>/api/2.1/jobs/runs/list

For more information on parameters, visit Jobs API docs.

View solution in original post

1 REPLY 1

AmanSehgal
Honored Contributor III

Sure. Using Databricks jobs API you can get this information.

Use the following API endpoint to get list of all the jobs and their executions till date in descending order.

You can pass job_id as parameter to get runs of a specific job.

https://<databricks-instance>/api/2.1/jobs/runs/list

For more information on parameters, visit Jobs API docs.

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