List runs in descending order by start time.
Arguments
- job_id
The canonical identifier of the job.
- active_only
Boolean (Default:
FALSE
). IfTRUE
only active runs are included in the results; otherwise, lists both active and completed runs. An active run is a run in thePENDING
,RUNNING
, orTERMINATING
. This field cannot be true whencompleted_only
isTRUE
.- completed_only
Boolean (Default:
FALSE
). IfTRUE
, only completed runs are included in the results; otherwise, lists both active and completed runs. This field cannot be true whenactive_only
isTRUE
.- offset
The offset of the first job to return, relative to the most recently created job.
- limit
Number of jobs to return. This value must be greater than 0 and less or equal to 25. The default value is 25. If a request specifies a limit of 0, the service instead uses the maximum limit.
- run_type
The type of runs to return. One of
JOB_RUN
,WORKFLOW_RUN
,SUBMIT_RUN
.- expand_tasks
Whether to include task and cluster details in the response.
- host
Databricks workspace URL, defaults to calling
db_host()
.- token
Databricks workspace token, defaults to calling
db_token()
.- perform_request
If
TRUE
(default) the request is performed, ifFALSE
the httr2 request is returned without being performed.
See also
Other Jobs API:
db_jobs_create()
,
db_jobs_delete()
,
db_jobs_get()
,
db_jobs_list()
,
db_jobs_reset()
,
db_jobs_run_now()
,
db_jobs_runs_cancel()
,
db_jobs_runs_delete()
,
db_jobs_runs_export()
,
db_jobs_runs_get()
,
db_jobs_runs_get_output()
,
db_jobs_runs_submit()
,
db_jobs_update()