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.