Kubernetes Cost Allocation

List Kubernetes Cost Allocation

Endpoint to list all Kubernetes Cost Allocation items

post/kubernetes-cost-allocation/get-list

Request

Request body

limitnumber

Maximum number of items to return. Defaults to 10.

skipnumber

Number of items to skip for pagination. Defaults to 0.

Example request

{
  "query": {
    "windowStart": {
      "_type": "GreaterThan",
      "value": "2026-01-01T00:00:00.000Z"
    }
  },
  "select": {
    "projectId": true,
    "kubernetesClusterId": true,
    "clusterName": true
  },
  "sort": {
    "windowStart": "DESC"
  },
  "groupBy": {
    "projectId": true
  }
}

Response

Successful response

countnumber

Example response

{
  "data": [
    {
      "projectId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "kubernetesClusterId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "clusterName": "Example text value",
      "k8sClusterEntityKey": "Example text value",
      "windowStart": "example_value",
      "windowEnd": "example_value",
      "namespace": "Example text value",
      "controllerKind": "Example text value",
      "controllerName": "Example text value",
      "podName": "Example text value",
      "containerName": "Example text value",
      "nodeName": "Example text value",
      "providerId": "Example text value",
      "labels": "example_value",
      "labelKeys": [
        "item1",
        "item2",
        "item3"
      ],
      "cpuCoreHours": 123.45,
      "cpuCoreRequestAverage": 123.45,
      "cpuCoreUsageAverage": 123.45,
      "cpuCoreLimitAverage": 123.45,
      "cpuCost": 123.45,
      "gpuHours": 123.45,
      "gpuCost": 123.45,
      "ramByteHours": 123.45,
      "ramBytesRequestAverage": 123.45,
      "ramBytesUsageAverage": 123.45,
      "ramBytesLimitAverage": 123.45,
      "ramBytesUsageMax": 123.45,
      "ramCost": 123.45,
      "pvByteHours": 123.45,
      "pvCost": 123.45,
      "networkCost": 123.45,
      "loadBalancerCost": 123.45,
      "sharedCost": 123.45,
      "externalCost": 123.45,
      "totalCost": 123.45,
      "cpuEfficiency": 123.45,
      "ramEfficiency": 123.45,
      "totalEfficiency": 123.45,
      "currency": "Example text value",
      "shipmentId": "Example text value",
      "shipmentChunk": 42
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.