Get cost report totals (aggregated costs) for a given period. Requested period should not exceed 31 days.
Note: This report assumes there are no active commit features in the billing plan.
If there are active commit features (pre-paid resources) in your plan, use /v1/reservation_cost_report/totals,
as the results from this report will not be accurate.
Receiving data from the past hour might lead to incomplete statistics.
For the most accurate data, we recommend accessing the statistics after at least one hour.
Typically, updates are available within a 24-hour period, although the frequency can vary.
Maintenance periods or other exceptions may cause delays, potentially extending beyond 24 hours until
the servers are back online and the missing data is filled in.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
The start date of the report period (ISO 8601). The report starts from the beginning of this day.
"2023-01-01T00:00:00Z"
The end date of the report period (ISO 8601). The report ends just before the beginning of this day.
"2023-02-01T00:00:00Z"
Expenses for the last specified day are taken into account. As the default, False.
false
List of project IDs
[16, 17, 18, 19, 20]List of region IDs.
[1, 2, 3]Format of the response (csv or json).
csv_totals, json "csv_totals"
"json"
Extended filter for field filtering.
{
"field": "flavor",
"type": "instance",
"values": ["g1-standard-1-2"]
}Filter by tags
{
"condition_type": "OR",
"conditions": [
{
"key": "os_version",
"strict": true,
"value": "22.04"
},
{
"key": "os_version",
"strict": true,
"value": "23.04"
}
]
}List of resource types to be filtered in the report.
Resource types for prebilling report
ai_cluster, ai_virtual_cluster, backup, baremetal, basic_vm, containers, dbaas_postgresql_connection_pooler, dbaas_postgresql_cpu, dbaas_postgresql_memory, dbaas_postgresql_public_network, dbaas_postgresql_volume, egress_traffic, external_ip, file_share, floatingip, functions, functions_calls, functions_traffic, image, inference, instance, load_balancer, log_index, snapshot, volume ["egress_traffic", "instance"]OK
Count of returned totals
x >= 01
Price status for the UI, type: string
error, hide, show