v5

latestOpenAPI 3.1.02026-08-081,0211,3082.1 MB
DATABRICKS
Databricks
Databricks Jobs

Get the static task list for a Databricks job

Return every task defined on the job's workflow DAG (regardless of whether the task has been run or has an Auto Tune recommendation). Sourced from dbx_job_tasks_inventory.

The Auto Tune drawer DAG and the overview "Tasks" tile use this as the authoritative task list so they don't depend on the recs feed or task-runs windowing for the denominator.

workspace_id only scopes the estimated_cost_per_hr lookup (:func:get_task_estimated_cost_per_hr_map) — the ClickHouse depends_on_map / cluster_map reads are pre-existing scope and remain (job_id, instance_id)-only, so a cross-workspace job_id collision could still surface the wrong cluster spec.

get/api/v1/databricks/jobs/{job_id}/tasks-inventory

Path parameters

job_idstring required

Query parameters

instance_idinteger required

Databricks instance id

Databricks instance id

workspace_idstring nullable

Optional Databricks workspace_id to scope the cost lookup to a specific workspace within the tenant's Databricks account. Defends against cross-workspace job_id collisions. When None, falls back to (instance_id, entity_id) lookup.

Optional Databricks workspace_id to scope the cost lookup to a specific workspace within the tenant's Databricks account. Defends against cross-workspace job_id collisions. When None, falls back to (instance_id, entity_id) lookup.

Headers

x-tenantstring required

Response

Successful Response

job_idstring required
total_countinteger required