Cost Reports
Get monthly cost report totals (commits and pay-as-you-go)
Retrieve a detailed cost report totals for a specified month, which includes both commit and pay-as-you-go (overcommit) prices. Additionally, it provides the spent billing units (e.g., hours or GB) for resources. The "time_to" parameter represents all days in the specified month.
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/reservation_cost_report/totals
Request body
Example request
{
"regions": [
1,
2,
3
],
"schema_filter": {
"values": [
"10"
]
},
"tags": {
"conditions": [
{
"key": "os_version",
"strict": true,
"value": "22.04"
}
]
},
"types": [
"egress_traffic",
"instance"
],
"year_month": "2024-08"
}Response
OK
Example response
{
"count": 1,
"results": [
{
"billing_feature_name": "AI Infrastructure: bm3-ai-1xlarge-h100-80-8 (2 x Intel Xeon 8480+, 2TB RAM, 8x3.84 TB NVMe, 8x Nvidia H100, IB 3.2 Tbit/s, 2x100Gbit/s Ethernet) Luxembourg-2 - PAYG",
"billing_metric_name": "bm3-ai-1xlarge-h100-80-8_min",
"billing_value": 1000,
"billing_value_unit": "minutes",
"cost": 1000,
"currency": "EUR",
"flavor": "bm3-ai-1xlarge-h100-80-8",
"region": 76,
"region_id": 76
}
]
}