Allocation API

Allocation API (Querying)

GET http://app.kubecost.com/query/allocation/query

The Allocation API is the preferred way to query for costs and resources allocated to Kubernetes workloads and optionally aggregated by Kubernetes concepts like namespace, controller, and label.

Path Parameters

Allocation API (Total)

GET http://app.kubecost.com/query/allocation/totals

The Allocation API is the preferred way to query for costs and resources allocated to Kubernetes workloads. The /totals endpoint does not aggregate, and accepts only a window and an optional filter, returning a single total cost.

Path Parameters

Last updated