Cost Reports
Get usage statistics report
Data from the past hour may not reflect the full set of statistics. For the most complete and accurate results, we recommend accessing the data at least one hour after the relevant time period. Updates are generally available within a 24-hour window, though timing can vary. Scheduled maintenance or other exceptions may occasionally cause delays beyond 24 hours.
post/cloud/v1/usage_report
Request body
Example request
{
"limit": 10,
"order_by": [
"project.asc",
"region.desc"
],
"projects": [
16,
17,
18,
19,
20
],
"regions": [
1,
2,
3
],
"schema_filter": {
"values": [
"10"
]
},
"tags": {
"conditions": [
{
"key": "os_version",
"strict": true,
"value": "22.04"
}
]
},
"time_from": "2023-01-01T00:00:00Z",
"time_to": "2023-02-01T00:00:00Z",
"types": [
"egress_traffic",
"instance"
]
}Response
OK
Example response
{
"count": 1,
"resources": [
{
"billing_metric_name": "bm3-ai-1xlarge-h100-80-8_min",
"billing_value": 1000,
"billing_value_unit": "minutes",
"first_seen": "2024-07-01T00:00:30Z",
"flavor": "bm3-ai-1xlarge-h100-80-8",
"last_name": "ai_cluster_name",
"last_seen": "2024-07-30T23:59:30Z",
"project_id": 10,
"region": 76,
"region_id": 76,
"tags": [
{
"os_distro": "ubuntu"
},
{
"os_version": "22.04"
}
]
}
],
"totals": [
{
"billing_metric_name": "bm3-ai-1xlarge-h100-80-8_min",
"billing_value": 1000,
"billing_value_unit": "minutes",
"flavor": "bm3-ai-1xlarge-h100-80-8",
"region": 76,
"region_id": 76
}
]
}