---
title: "Get compute efficiency breakdown"
method: GET
path: "/api/v1/databricks/cost/compute-efficiency"
tags: ["DATABRICKS", "Databricks", "Databricks Cost"]
---

# Get compute efficiency breakdown

`GET /api/v1/databricks/cost/compute-efficiency`

Get compute efficiency breakdown.

Returns efficiency metrics including:
- Jobs vs All-Purpose ratio (healthy = >70% jobs)
- Serverless vs Provisioned breakdown
- Photon vs Standard engine usage

## Query parameters

- `start_date` string, date, required — Start date for the period
- `end_date` string, date — End date for the period
- `workspace_id` string, nullable — Filter by workspace ID
- `navigationSource` string, nullable

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- ComputeEfficiencyResponse — Response model for compute efficiency breakdown.
  - `jobs_pct` number, required — Percentage of compute used by Jobs
  - `all_purpose_pct` number, required — Percentage of compute used by All-Purpose
  - `efficiency_score` string, required — Efficiency rating: healthy (>70% jobs), moderate (50-70%), unhealthy (<50%)
  - `compute_types` ComputeTypeBreakdown[], required — Breakdown by compute type
    - `compute_type` string, required — Compute type: jobs, all_purpose, sql, other
    - `total_dbus` number, required — Total DBUs for this compute type
    - `estimated_cost` number, required — Estimated cost for this compute type
    - `pct_of_total` number, required — Percentage of total cost
  - `deployment_types` DeploymentTypeBreakdown[], required — Breakdown by deployment type (serverless vs provisioned)
    - `deployment_type` string, required — Deployment type: serverless or provisioned
    - `total_dbus` number, required — Total DBUs for this deployment type
    - `estimated_cost` number, required — Estimated cost for this deployment type
    - `pct_of_total` number, required — Percentage of total cost
  - `engine_types` EngineTypeBreakdown[], required — Breakdown by engine type (photon vs standard)
    - `engine_type` string, required — Engine type: photon or standard
    - `total_dbus` number, required — Total DBUs for this engine type
    - `estimated_cost` number, required — Estimated cost for this engine type
    - `pct_of_total` number, required — Percentage of total cost
  - `total_dbus` number, required — Total DBU consumption
  - `total_cost` number, required — Total estimated cost

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