---
title: "Get billing breakdown"
method: GET
path: "/api/v1alpha/billing_breakdown"
tags: ["Billing Projects"]
---

# Get billing breakdown

`GET /api/v1alpha/billing_breakdown`

Return per-(billing_project, user, resource) cost records for a date range. Billing managers (READ_ALL_BILLING_PROJECTS) see all records; other users see only rows where the user matches their own username. Costs are plain floats in USD. Rows with zero cost are excluded. The `resource` field uses internal resource names such as `"service-fee"`, `"compute/n1-standard/preemptible/us-central1"`, etc.

## Query parameters

- `start` string, required
- `end` string, required

## Response `200`

Billing breakdown retrieved successfully.

- BillingBreakdownRecord[]
  - `billing_project` string — The billing project.
  - `user` string — The user.
  - `resource` string — Internal resource name (e.g. 'service-fee', 'compute/n1-standard/preemptible/us-central1').
  - `cost` number — Cost in USD for this (billing_project, user, resource) combination.

## Other responses

- `400` — Missing or invalid date parameters.
- `401` — Unauthorized

---

[API](https://skmtc.net/hail-is/apis/hail-services.md) · [All operations](https://skmtc.net/hail-is/apis/hail-services/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hail-is/hail-services/revisions/3bd6e13adfa6/schema)
