v1

latestOpenAPI 3.1.0MIT Licence2026-07-17613573.4 KB
Billing Projects

Get 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.

get/api/v1alpha/billing_breakdown

Query parameters

startstring required
Example:05/01/2026

Start date in MM/DD/YYYY format.

endstring required
Example:05/31/2026

End date in MM/DD/YYYY format (inclusive). Required.

Response

Billing breakdown retrieved successfully.

billing_projectstring

The billing project.

userstring

The user.

resourcestring

Internal resource name (e.g. 'service-fee', 'compute/n1-standard/preemptible/us-central1').

costnumber

Cost in USD for this (billing_project, user, resource) combination.