Billing
Spend data, cost timelines, and notification thresholds for all resource types on Hyperstack. These endpoints let you retrieve billing history, hourly cost charts, and usage summaries for virtual machines, volumes, clusters, object storage, snapshots, and AI Studio workloads.
Overview
Billing usage
Retrieves active billing metrics for the organization's resources, including pricing, uptime, and total cost.
Retrieve Billing History for a specific Billing Cycle
Returns billing history for the specified billing cycle, including incurred bill and cost breakdown by resource type.
Virtual Machines
Get VM hourly cost datapoints
Returns hourly cost datapoints for a VM for a specified billing cycle.
Get sub-resource historical cost datapoints for a VM
Returns sub-resource historical cost datapoints for a VM for a specified billing cycle.
Get total cost for VM sub-resources
Returns total and non-discounted costs of sub-resources on a specific VM for the specified billing cycle.
Get VM billing history
Returns detailed billing history for a specific VM, including price per hour, incurred bill, and usage time by state.
Volumes
Get volume hourly cost datapoints
Returns hourly cost datapoints for a volume for a specified billing cycle.
Get volume billing history
Returns detailed billing history for a specific volume, including price per hour, incurred bill, and usage time.
Clusters
Get cluster hourly cost datapoints
Returns hourly cost datapoints for a cluster for a specified billing cycle.
Get cluster billing history
Returns the accrued cost, hourly rate, and billable hours for a Kubernetes cluster over a date range you specify.
Get contract billing history
Returns billing history of contracts for the specified billing cycle.
Object Storage
Get bucket hourly cost datapoints
Returns hourly cost datapoints for a bucket for a specified billing cycle.
Get bucket billing details
Returns detailed billing history for a specific bucket, including price per hour and incurred bill.
Snapshots
Get snapshot hourly cost datapoints
Returns hourly cost datapoints for a snapshot for a specified billing cycle.
List snapshot billing history
Returns billing history of snapshots for the specified billing cycle.
Get snapshot billing details
Returns detailed billing history for a specific snapshot, including price per hour and incurred bill.
Notifications
All thresholds for organization
Retrieves all notification thresholds configured for the organization.
Update: subscribe or unsubscribe notification threshold
Subscribes or unsubscribes from email notifications for a specific billing threshold.