Skip to main content

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


GET

Billing usage

Retrieves active billing metrics for the organization's resources, including pricing, uptime, and total cost.

GET

Last day cost

Retrieves usage costs incurred during the previous day for each resource type.

GET

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

Get VM hourly cost datapoints

Returns hourly cost datapoints for a VM for a specified billing cycle.

GET

Get sub-resource historical cost datapoints for a VM

Returns sub-resource historical cost datapoints for a VM for a specified billing cycle.

GET

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

Get VM billing history

Returns detailed billing history for a specific VM, including price per hour, incurred bill, and usage time by state.

GET

List VM billing history

Returns billing history of VMs for the specified billing cycle.

GET

Retrieve VM billing events history

Returns billing events history for virtual machines.

Volumes


GET

Get volume hourly cost datapoints

Returns hourly cost datapoints for a volume for a specified billing cycle.

GET

Get volume billing history

Returns detailed billing history for a specific volume, including price per hour, incurred bill, and usage time.

GET

List volume billing history

Returns billing history of volumes for the specified billing cycle.

GET

Retrieve Volume billing events history

Returns billing events history for volumes.

Clusters


GET

Get cluster hourly cost datapoints

Returns hourly cost datapoints for a cluster for a specified billing cycle.

GET

Get cluster billing history

Returns the accrued cost, hourly rate, and billable hours for a Kubernetes cluster over a date range you specify.

GET

List cluster billing history

Returns billing history of clusters for the specified billing cycle.

GET

Get contract billing history

Returns billing history of contracts for the specified billing cycle.

Object Storage


GET

Get bucket hourly cost datapoints

Returns hourly cost datapoints for a bucket for a specified billing cycle.

GET

Get bucket billing history

Returns billing history of buckets for the specified billing cycle.

GET

Get bucket billing details

Returns detailed billing history for a specific bucket, including price per hour and incurred bill.

Snapshots


GET

Get snapshot hourly cost datapoints

Returns hourly cost datapoints for a snapshot for a specified billing cycle.

GET

List snapshot billing history

Returns billing history of snapshots for the specified billing cycle.

GET

Get snapshot billing details

Returns detailed billing history for a specific snapshot, including price per hour and incurred bill.

Notifications


GET

All thresholds for organization

Retrieves all notification thresholds configured for the organization.

PUT

Update: subscribe or unsubscribe notification threshold

Subscribes or unsubscribes from email notifications for a specific billing threshold.

On this page