---
title: "Per-period Infra-mode cost/savings series for a job"
method: GET
path: "/api/v1/databricks/jobs/{job_id}/auto-tune/infra-cost-trends"
tags: ["DATABRICKS", "Databricks", "Databricks Jobs"]
---

# Per-period Infra-mode cost/savings series for a job

`GET /api/v1/databricks/jobs/{job_id}/auto-tune/infra-cost-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}/auto-tune/infra-cost-trends`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Cost Savings chart data for Infra mode: cloud cost from
``dbx_cloud_cost_daily`` plus the savings mart's infra-savings leg, in
the same response shape as the DBU-mode savings-trends endpoint.
Empty series when the tenant has no cloud-cost feed.

## Path parameters

- `job_id` string, required

## Query parameters

- `instance_id` integer, required: Databricks instance id
- `workspace_id` string, nullable: Optional Databricks workspace_id to scope the lookup.
- `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

- AutoTuneSavingsTrendsResponse: Per-day auto-tune savings for a job, split into realized and potential. ``actual`` holds savings on runs where an applied recommendation was in effect; ``potential`` holds the savings those runs would have earned from the active recommendation had it been applied. Each series is bucketed by the run window (``period_start_time``).
  - `actual` AutoTuneSavingsTrendPoint[], required
    - `period` string, required
    - `dbu_savings` number
    - `infra_savings` number
    - `rec_type` string, nullable
  - `potential` AutoTuneSavingsTrendPoint[], required
    - `period` string, required
    - `dbu_savings` number
    - `infra_savings` number
    - `rec_type` string, nullable
  - `granularity` string, required

## Other responses

- `403`: Not authorized
- `422`: Validation Error

## Changes

- **2026-09-02** `fcb62c79da95`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/myaltimate/apis/fastapi/changes/api/v1/databricks/jobs/:job_id/auto-tune/infra-cost-trends/get.md)

---

[API](https://skmtc.dev/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.dev/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/myaltimate/apis/fastapi/revisions/f0bbc031d14e?raw)
