list_billing_utilization
Get per-resource billing utilization for the current period, grouped by datacenter. Filter by datacenter, meter type, or region, and aggregate by meter or datacenter.
Instructions
Get per-resource utilization for the current billing period, grouped by datacenter. Defaults exclude zero-quantity meters (set include_zero=true to find idle resources). Use group_by='meter' or 'datacenter' to aggregate further, or top_n=N for a flat global ranking of the largest meters. Filter by datacenter_id, meter_types, or regions to narrow scope. For contracts with many datacenters, scope with regions, datacenter_id, or meter_types — or set top_n=10 for a flat global top-N list — before group_by=datacenter to keep the response under 25 KB. For FOCUS v1.3 compliant output, read resource ionos://billing/focus-v1.3.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | return only the N largest meters globally, sorted by quantity desc — flat list with dc_id/dc_name on each row, datacenters[] omitted; ideal for cost audits on contracts with many datacenters. When combined with group_by='datacenter', top_meters[] rows have no meter_id (type+unit aggregates); with group_by='meter', meter_id is the SKU | |
| regions | No | filter to these regions only (client-side); e.g. ['de/fra','es/vit'] | |
| contract | Yes | contract number from get_billing_profile | |
| group_by | No | aggregation level: omitted or '' = per-resource (default), 'meter' = sum per SKU per datacenter, 'datacenter' = sum per type per datacenter — coarser groupings shrink output but lose detail | |
| meter_types | No | filter to these meter type categories only (client-side); e.g. ['DBAAS','DNS','SERVER'] | |
| include_zero | No | include meters with quantity 0 (default false); set true to find existing resources that didn't consume in the window | |
| datacenter_id | No | scope to a single datacenter (VDC UUID) |