Skip to main content
POST
Price a what-if node-group draft against a cluster (bearer twin)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-ankra-organisation-id
string

PAT organisation override.

Path Parameters

cluster_id
string<uuid>
required

Body

application/json
node_groups
ClusterCostEstimateNodeGroupInput · object[]
required

The full set of node groups the prototype cluster would run (at most 32).

network
ClusterCostEstimateNetworkInput · object | null

Absent means unchanged from today.

provider
string

Price the draft on this provider's catalogue instead of the cluster's own (a migration); one of the response's available_targets. Empty keeps the cluster's provider.

Response

Successful response

currency
string
required
pricing
CostEstimatePricing · object
required
baseline
CostEstimateConfiguration · object
required
estimate
CostEstimateConfiguration · object
required
metered_monthly_cents
integer | null
required
predicted_monthly_cents
integer | null
required
delta_monthly_cents
integer | null
required
target_provider
string
required

The provider the estimate was priced on when the draft asked for a migration; empty otherwise.

target_pricing
CostEstimatePricing · object | null
required

The migration target's source and unit prices; pricing keeps the cluster's own.

available_targets
CostEstimateTarget · object[]
required

Providers a draft may be priced on: those with an offline size catalogue and priced rows, the cluster's own excluded.