v3

latestOpenAPI 3.1.02026-08-0150254154.0 KB
manage > v1 > projects > billing > breakdown

Get Project Billing Breakdown

Retrieves the billing summary for a specific project, with various filter options or by grouping options.

get/v1/projects/{project_id}/billing/breakdown

Path parameters

project_idstring required

The unique identifier of the project

Query parameters

startstring date

Start date of the requested date range. Format accepted is YYYY-MM-DD

endstring date

End date of the requested date range. Format accepted is YYYY-MM-DD

accessorstring

Filter for requests where a specific accessor was used

deployment'hosted' | 'beta' | 'self-hosted'

Deployment type for the requests

Filter for requests where a specific deployment was used

tagstring

Filter for requests where a specific tag was used

line_itemstring

Filter requests by line item (e.g. streaming::nova-3)

groupingV1ProjectsProjectIdBillingBreakdownGetParametersGroupingSchemaItems[]

Group billing breakdown by one or more dimensions (accessor, deployment, line_item, tags)

Headers

Authorizationstring required

Use Authorization: Token <API_KEY> Example: Authorization: Token 12345abcdef

Response

Billing breakdown response

startstring date required

Start date of the billing summmary period

endstring date required

End date of the billing summary period