API reference · Schema
PodEstimate
objectstringrequiredAlways `pod_estimate`: the type of this object
One of
pod_estimatecurrencystringrequiredAlways `usd`
One of
USDprice_book_versioninteger | nullrequiredVersion of the price book the estimate uses; null when none is in force
compute_per_secondstringrequiredInteger nano-USD as a decimal string
pattern ^-?[0-9]+$
running_per_hourstringrequiredCompute plus the pod volume, while it runs
pattern ^-?[0-9]+$
stopped_per_hourstringrequiredWhile stopped: the pod volume only (compute is not billed)
pattern ^-?[0-9]+$
network_volumes_per_hourstringrequiredNetwork volumes it would mount; billed whether or not any pod uses them, so not in the totals above
pattern ^-?[0-9]+$
linesarray of objectrequiredThe estimate item by item
ShowHide 4 fields of
lineskindstringrequired`compute`: the hardware. `container_disk`: included at no charge. `pod_volume`, `network_volume`: storage.
One of
computecontainer_diskpod_volumenetwork_volumedescriptionstringrequiredFree-text description
per_hourstringrequiredInteger nano-USD as a decimal string
pattern ^-?[0-9]+$
billedstringrequired`running`: only while the pod runs. `always`: until the volume is deleted.
One of
runningalways
{
"object": "pod_estimate",
"currency": "USD",
"price_book_version": 1,
"compute_per_second": "1500000000",
"running_per_hour": "1500000000",
"stopped_per_hour": "1500000000",
"network_volumes_per_hour": "1500000000",
"lines": [
{
"kind": "compute",
"description": "string",
"per_hour": "1500000000",
"billed": "running"
}
]
}Used by
- Price estimate for a pod configuration: hourly running and stopped cost
GET /v1/pods/estimate