Get the asset cost over a time window
Retrieve asset cost
Authorizations
Query Parameters
Duration of time over which to query. Accepts words like today, week, month, yesterday, lastweek, lastmonth; durations like 30m, 12h, 7d, or time like 2021-03-10T00:00:00Z,2021-03-11T00:00:00Z
Aggregate the cost allocation. Accepts kubecost aggregates cluster, namespace, pod, deployment, service, daemonset, statefulset, job, cronjob, replicaset, node, container, pv, pvc, storageclass, cluster
Start time of the query. Accepts RFC3339 format, must be inside the window
End time of the query. Accepts RFC3339 format, must be inside the window
If the result will be accumulated. Default is false. If true, the result will be accumulated from the start time to the end time.
Filter the result by the kubecost filter like cluster, namespace, pod, deployment, service, daemonset, statefulset
Response
Success