Is there a way to add a date parameter to the jobs run API call?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 04:07 AM
Hi there I am currently making a call to the Databricks API jobs run endpoint. I would like to make this call on a daily basis to get data on the jobs run in the past 24 hours and add this to my delta table. Is there a way to set a GTE value in the API call? I can't see anything in the documentation. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 07:41 AM
@Rachel Cunningham : Are you referring to list run API and to getting the runs that started after a particular time?
if so, please refer to https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsRunsList
The link explains the options of jobs API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 01:40 AM
more specifically, to list the job runs between a specified time frame. I have found the parameters required in the call in the documentation for start_time_from and start_time_to. But if for example I try to return the records between 10th and 11th December. No records are returned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 11:04 AM
Actually the "start_time_to" parameter doesn't seem to work at all. Neither alone or together with "start_time_from" (Whenever used the api call returns nothing). I'd like to report this as an issue as we want to automate our cluster usage monitoring and we need to watch over specific time intervals.

