Usage
GET
/usageRetreives the products usage. Usage is updated daily shortly after midnight UTC
Request
Query Params
resource_types
array[string]
optional
Resources
Example:
["persistent-ssd","a40.1x"]
regions
array[string]
optional
Regions
Example:
["us-northcentral1-a"]
start_date
string
optional
Start date
Example:
2024-06-10
end_date
string
optional
End date
Example:
2024-06-16
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
items
array [object {7}]
required
billable_metric
string
optional
date
string
optional
project_id
string
optional
quantity
number
optional
region
string
optional
reservation_id
string
optional
resource_type
string
optional
Example
{
"items": [
{
"billable_metric": "gpu-hours",
"date": "2022-07-01",
"project_id": "d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb",
"quantity": 2.123,
"region": "us-northcentral1",
"reservation_id": "d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb",
"resource_type": "a40.1x"
}
]
}
Modified at 2 months ago