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

# Get job run trends

`GET /api/v1/databricks/jobs/trends`

Get job run trends over time.

## Query parameters

- `start_date` string, date, required — Start date
- `end_date` string, date — End date
- `granularity` string — Time granularity: 'day', 'week', or 'month'
- `workspace_id` string, nullable — Filter by workspace ID
- `navigationSource` string, nullable

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- JobRunTrendsResponse — Response for job run trends.
  - `trends` JobRunTrendPoint[], required
    - `period` string, required
    - `total_runs` integer
    - `successful_runs` integer
    - `failed_runs` integer
    - `avg_duration_seconds` number
    - `estimated_cost_usd` number
    - `dbu_cost` number
    - `cloud_cost` number, nullable
  - `granularity` string, 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/aab3fe5c9f05/schema)
