Skip to main content
GET
Price a cluster's current configuration for a what-if draft

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

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

The metered run rate plus the change; on a migration the re-priced volumes are folded in. Withheld when an unpriced part differs between the two sides.

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.

match
string
required

The matching rule the estimate was placed with.

volumes
CostEstimateVolumes · object
required
priced_delta_monthly_cents
integer | null
required

The estimate minus the baseline over the lines both sides could price (a line priced on one side only is left out of both), answered even when the prediction is withheld so a partly priced target keeps a floor; null when no line could be compared.

unitemised
CostEstimateUnitemised · object
required