Returns one month's statement as JSON: the totals for the month, company-wide usage by
kind, and usage per project. Filter the breakdown with `kind` and `project`.
`/api/space/billing_statement.json` returns the same response. For the
same statement as a file, use
[Download a statement as CSV](/docs/apis/rest/space/billing/get-billing-statement-csv)
or [Download a statement as PDF](/docs/apis/rest/space/billing/get-billing-statement-pdf).
The statement is computed on request from the usage reporting pipeline, so the
response is `502` when that pipeline is unavailable.
#### Permissions
Authenticate with a [Personal access token](/docs/apis/authorization#personal-access-tokens) whose holder is an owner or admin of the space. A project API token is not accepted on this endpoint, and a Personal access token has no scopes: the holder's role in the space is the whole authorization decision.
Response
The request has succeeded.
typeenum
The object type. Always billing_statement.
monthstring
The calendar month the statement covers, as YYYY-MM.
summaryobject
The totals for the month.
usage_by_kindlist of objects
Company-wide usage broken down by kind.
projectslist of objects
Usage per project, each with its own breakdown by kind.