
Answer-first summary for fast verification
Answer: `/jobs/get`
The correct endpoint is **`/jobs/get`**. **Why this is correct:** The `GET /api/2.2/jobs/get` endpoint returns the full settings and metadata for a specific job using its `job_id`. This output includes the `tasks` block, which contains the `notebook_task.notebook_path` for every notebook assigned to execute within that job. **Why the other options are incorrect:** * **`/jobs/list`**: This endpoint returns a high-level summary of all jobs (IDs and names) but does not provide the internal task configurations or notebook paths. * **`/jobs/runs/list`**: This retrieves the history of job executions (run IDs, start times, states) rather than the static configuration of the job itself. * **`/jobs/runs/get`**: This retrieves metadata regarding a *specific instance* of a run (e.g., its current state or cluster info), not the blueprint of the job definition. * **`/jobs/runs/get-output`**: This is used to fetch the resulting output or exit values of a specific task after it has finished running.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A data engineer needs to inspect the configuration of a multi-task job to identify which notebooks are assigned to specific tasks. Which Databricks REST API endpoint should be used to retrieve this detailed configuration?
A
/jobs/runs/get
B
/jobs/runs/list
C
/jobs/list
D
/jobs/get
E
/jobs/runs/get-output