get_databricks_costs
Retrieve Databricks workspace cost breakdown by service type and per cluster for a specified date range. Uses billable usage API or estimates from cluster uptime and job history.
Instructions
Return Databricks workspace cost breakdown for the given date range.
Reports total estimated spend, cost by service type (All-Purpose Compute, Jobs, SQL Warehouses, Delta Live Tables) and per-cluster cost.
Uses the Databricks Billable Usage Download API when DATABRICKS_ACCOUNT_ID is set; otherwise estimates from cluster uptime + job run history.
Args: start_date: ISO date string (YYYY-MM-DD). Defaults to 30 days ago. end_date: ISO date string (YYYY-MM-DD). Defaults to today.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| start_date | No |