Skip to main content

Get VM billing history

GET 

/billing/billing/history/virtual-machine/:vm_id

Returns billing history of a specific Virtual Machine for the specified billing cycle. The response includes 'resource_name', 'infrahub_id', 'price_per_hour', 'non_discounted_price_per_hour', 'incurred_bill', 'non_discounted_bill', 'usage_time', 'usage_time_ACTIVE', 'usage_time_SHUTOFF', 'usage_time_HIBERNATED'

Reliability: This endpoint returns 500 intermittently. Retry with backoff; if the failure persists, contact support.

Request

Responses

Success