Skip to main content
GET
Query costs and resources allocated to Kubernetes workloads

Authorizations

Authorization
string
header
required

Enter "Bearer {token}"

Query Parameters

window
string
required

Duration (7d, 24h), 'today', 'yesterday', or a comma-separated RFC3339 pair

aggregate
string

Comma-separated list of cluster, node, namespace, controller, controllerKind, deployment, statefulset, daemonset, job, cronjob, pod, container, label:

step
string

Duration of each returned set; defaults to the whole window

accumulate
boolean

Collapse the range into a single set

includeIdle
boolean

Emit unallocated node cost as its own idle allocation

shareIdle
boolean

Distribute idle across the other allocations instead, weighted by consumption

idleByNode
boolean

Not supported; idle is reported for the cluster

filter
string

Restrict the result, for example cluster:\

Response

OK

code
integer
data
object