---
title: "Get recent job failures"
method: GET
path: "/api/v1/databricks/jobs/recent-failures"
tags: ["DATABRICKS", "Databricks", "Databricks Jobs"]
---

# Get recent job failures

`GET /api/v1/databricks/jobs/recent-failures`

Get recent job failures.

## Query parameters

- `hours` integer — Hours to look back (1-720).
- `workspace_id` string, nullable — Filter by workspace ID
- `navigationSource` string, nullable

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- RecentFailuresResponse — Response for recent failures.
  - `failures` RecentFailure[], required
    - `run_id` string, required
    - `job_id` string, required
    - `job_name` string, required
    - `workspace_id` string, required
    - `workspace_name` string, nullable
    - `run_name` string, nullable
    - `result_state` string, required
    - `start_time` string, date-time, required
    - `end_time` string, date-time, nullable
    - `duration_seconds` number, nullable
  - `hours` integer, required
  - `total_count` integer, required

## Other responses

- `403` — Not authorized
- `404` — No ClickHouse database configured
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/50769cbf05d5/schema)
