UsageItem
A single usage line. The type discriminator determines which fields are present: instance, service, or snapshot.
typestringrequired
Possible values: [instance, service, snapshot]
uuidstring<uuid>
Present for instance and snapshot items.
hostnamestring
Present for instance items.
packagestring
Plan name. Present for instance items.
labelstring
Present for service items.
hoursnumber<float>
Billed hours. Present for instance and snapshot items.
bandwidth_costnumber<float>
Present for instance items.
size_gbnumber<float>
Present for snapshot items.
costnumber<float>required
UsageItem
{
"type": "instance",
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"hostname": "string",
"package": "string",
"label": "string",
"hours": 0,
"bandwidth_cost": 0,
"size_gb": 0,
"cost": 0
}