---
title: "Get cloud infrastructure cost trends by category"
method: GET
path: "/api/v1/databricks/cost/cloud/trends"
tags: ["DATABRICKS", "Databricks", "Databricks Cost"]
deprecated: true
---

# Get cloud infrastructure cost trends by category

`GET /api/v1/databricks/cost/cloud/trends`

> **Deprecated.**

Get full cloud-bill (TCO) trends over time, stacked by infrastructure
category (Compute / Storage / Networking / Database / Security /
Analytics & Streaming, plus an ``Other`` catch-all).

One row per period; each category is a numeric field, plus a synthetic
``__cloud_cost_total__`` and per-period percentage-change fields. Powers the
Summary "Cloud Costs" tab and the Jobs "Cloud Costs" group-by. Returns ``[]``
for tenants without the cloud-cost feed.

## Query parameters

- `start_date` string, date, required — Start date for the period
- `end_date` string, date — End date for the period
- `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

- CloudCostTrendRow[]
  - `period` string, required — Bucket start date, ``YYYY-MM-DD``.

## 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)
