List usage periods
List the company’s billing periods, newest first, each with its usage and cost per usage type. The first item is the current billing period. It is still open, so its amounts can change until it closes. The amounts of a billing period are calculated the way its invoice is: each usage type is priced on the usage of the whole period, at the current prices, and rounded once. They are an estimate of the invoice, not a copy of it, and they are before tax, credits and discounts. Usage is counted in the period it was billed in, which is several hours after it happened. The list goes back to the period of the company’s first billed usage. To get the days or services of a period, pass its period_start and period_end to the usage summary endpoint. A company without an active subscription has no billing periods and gets an empty list. Send usage requests one after another: while another usage request of the company is still running, a request can get a 429 with a retry-after header.
Authorizations
Query Parameters
Count only the usage of the services that are in this project now. Usage of a service that was deleted or moved out of the project is not counted, and a project without services gives zero usage. Returns 404 when the company has no such project.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Comma-separated identifiers of the services to count: applications, databases, static sites, object storage buckets and load balancers. Up to 100 identifiers. Together with project_id, only the listed services that are in the project are counted. An identifier without usage adds nothing.
"fb5e5168-4281-4bec-94c5-0d1584e9e657,0b9b4e3c-6a0f-4d53-9a55-6f0f4d0f1c2e"
Comma-separated usage types to count. By default every type is counted. appCompute - running time of application processes. appStorage - persistent disks of applications. appBuild - build time of applications. appBandwidth - bandwidth of applications. staticSiteBuild - build time of static sites. staticSiteBandwidth - bandwidth of static sites. db - running time of databases. objectStorage - data stored in object storage buckets. loadBalancer - running time of load balancers. loadBalancerBandwidth - bandwidth of load balancers.
"appCompute,db"