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

# Get job run trends over time

`GET /api/v1/databricks/jobs/{job_id}/trends`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/api/v1/databricks/jobs/{job_id}/trends`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Get run trends over time for a specific job.

## Path parameters

- `job_id` string, required

## Query parameters

- `start_date` string, date, required: Start date
- `end_date` string, date: End date
- `granularity` string: Time granularity: 'day', 'week', or 'month'
- `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.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
