/v1/projects/{project_id}/billing/breakdownGet Project Billing BreakdownRetrieves the billing summary for a specific project, with various filter options or by grouping options.
Parameters
project_idstringpathrequiredThe unique identifier of the project
startstring · datequeryStart date of the requested date range. Format accepted is YYYY-MM-DD
endstring · datequeryEnd date of the requested date range. Format accepted is YYYY-MM-DD
accessorstringqueryFilter for requests where a specific accessor was used
deploymentstringqueryFilter for requests where a specific deployment was used
tagstringqueryFilter for requests where a specific tag was used
line_itemstringqueryFilter requests by line item (e.g. streaming::nova-3)
groupingarrayqueryGroup billing breakdown by one or more dimensions (accessor, deployment, line_item, tags)
Responses
BillingBreakdownV1Response
endstring · daterequiredEnd date of the billing summary period
resolutionobjectrequiredShow child attributes
amountnumber · doublerequiredAmount of units
unitsstringrequiredTime unit for the resolution
resultsarray of objectrequiredShow child attributes
Show array items
dollarsstringrequiredUSD cost of the billing for this grouping
groupingobjectrequiredShow child attributes
accessornull | stringOptional accessor identifier, null unless grouped by accessor.
deploymentnull | stringOptional deployment identifier, null unless grouped by deployment.
endstring · dateEnd date for this group
line_itemnull | stringOptional line item identifier, null unless grouped by line item.
startstring · dateStart date for this group
tagsarray of stringOptional list of tags, null unless grouped by tags.
Show child attributes
startstring · daterequiredStart date of the billing summmary period
{
"end": "2026-06-09",
"resolution": {
"amount": 0,
"units": "string"
},
"results": [
{
"dollars": "string",
"grouping": {
"accessor": "string",
"deployment": "string",
"end": "2026-06-09",
"line_item": "string",
"start": "2026-06-09",
"tags": [
"string"
]
}
}
],
"start": "2026-06-09"
}ErrorResponse
oneOf · 3 options
ErrorResponseTextError
ErrorResponseLegacyError
err_codestringThe error code
err_msgstringThe error message
request_idstringThe request ID
ErrorResponseModernError
categorystringThe category of the error
detailsstringA description of the error
messagestringA message about the error
request_idstringThe unique identifier of the request
{
"err_code": "string",
"err_msg": "string",
"request_id": "string"
}