Skip to main content
GET
Savings model for the organisation

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.

Response

Successful response

The organisation's savings model. Each cluster is counted once, at its best lever, because idle spend sits inside what an off-hours stop reclaims: total_monthly_savings_cents is each cluster's best measured or billed lever, and estimated_monthly_savings_cents only what its best lever of any confidence adds above that, so the two never count one spend twice. Unanalysed clusters are priced clusters beyond the organisation's analysed limit or past the analysis time budget, and offline clusters are priced clusters whose agent has not checked in; neither is a cluster with nothing to save.

analysed_cluster_count
integer
required
analysis_budget_exhausted
boolean
required

True when the analysis time budget (thresholds.analysis_budget_seconds), not the analysed-cluster limit, left some priced clusters unanalysed.

breakdowns
object[]
required
currency
string
required
estimated_monthly_savings_cents
integer
required

What the clusters' best levers add, on estimates alone, above total_monthly_savings_cents: summed per cluster as its best lever of any confidence less its best measured or billed lever. Never counted in total_monthly_savings_cents.

generated_at
string<date-time>
required
namespaces
object[]
required

The costliest namespaces across the analysed clusters, at most twelve.

priced_cluster_count
integer
required
recommendations
object[]
required
thresholds
object
required
total_monthly_savings_cents
integer
required
unanalysed_cluster_count
integer
required
unanalysed_clusters
object[]
required

Every priced cluster unanalysed_cluster_count counts, costliest first, with why it was left out on this read: limit (past the organisation's analysed-cluster limit), budget (the analysis time budget ran out first), unreadable (its cost read failed; also in unreadable_clusters) or no_breakdown (its cost read had no priced breakdown). The analysed set is re-chosen on every read, so this is what explains a total that moved without anything being spent or saved.

unpriced_cluster_count
integer
required
unpriced_clusters
object[]
required
stale_cluster_count
integer
required
stale_clusters
object[]
required

Clusters priced before whose latest snapshot is older than the fleet's staleness window: metering has stalled, which is neither priced nor unpriced.

unreadable_clusters
object[]
required

Priced clusters whose cost breakdown could not be read on this pass; counted as unanalysed, never as clusters with nothing to save.

offline_clusters
object[]
required

Priced clusters whose agent has not checked in within the platform's check-in threshold. Their synced inventory is the last one the agent sent, so they keep their price and breakdown but are offered no recommendation of any kind; never clusters with nothing to save.

waste
object
required

The open cloud-waste findings. available is false when the waste scan could not be read, which is unknown waste, not no waste. total_monthly_cost_cents and unpriced_finding_count cover the findings that count toward this organisation's savings: a resource several organisations' credentials see counts only in the organisation its Ankra cluster label names, and in none without one, so it is counted once between them. finding_count is every finding listed.