Kubecost · Schema

Allocation

Cloud CostCost MonitoringKubernetesOptimizationSpending

Properties

Name Type Description
name string Name of the allocation.
properties object
window object
start string
end string
cpuCores number
cpuCoreRequestAverage number
cpuCoreUsageAverage number
cpuCoreHours number
cpuCost number
cpuCostAdjustment number
cpuEfficiency number
gpuCount number
gpuHours number
gpuCost number
gpuCostAdjustment number
networkTransferBytes number
networkReceiveBytes number
networkCost number
networkCostAdjustment number
loadBalancerCost number
loadBalancerCostAdjustment number
pvBytes number
pvByteHours number
pvCost number
pvCostAdjustment number
ramBytes number
ramByteRequestAverage number
ramByteUsageAverage number
ramByteHours number
ramCost number
ramCostAdjustment number
ramEfficiency number
externalCost number
sharedCost number
totalCost number
totalEfficiency number
View JSON Schema on GitHub

JSON Schema

kubecost-allocation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Allocation",
  "title": "Allocation",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the allocation."
    },
    "properties": {
      "type": "object",
      "properties": {
        "cluster": {
          "type": "string"
        },
        "node": {
          "type": "string"
        },
        "namespace": {
          "type": "string"
        },
        "controller": {
          "type": "string"
        },
        "controllerKind": {
          "type": "string"
        },
        "pod": {
          "type": "string"
        },
        "container": {
          "type": "string"
        },
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "annotations": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "services": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "window": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string",
          "format": "date-time"
        },
        "end": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "start": {
      "type": "string",
      "format": "date-time"
    },
    "end": {
      "type": "string",
      "format": "date-time"
    },
    "cpuCores": {
      "type": "number"
    },
    "cpuCoreRequestAverage": {
      "type": "number"
    },
    "cpuCoreUsageAverage": {
      "type": "number"
    },
    "cpuCoreHours": {
      "type": "number"
    },
    "cpuCost": {
      "type": "number"
    },
    "cpuCostAdjustment": {
      "type": "number"
    },
    "cpuEfficiency": {
      "type": "number"
    },
    "gpuCount": {
      "type": "number"
    },
    "gpuHours": {
      "type": "number"
    },
    "gpuCost": {
      "type": "number"
    },
    "gpuCostAdjustment": {
      "type": "number"
    },
    "networkTransferBytes": {
      "type": "number"
    },
    "networkReceiveBytes": {
      "type": "number"
    },
    "networkCost": {
      "type": "number"
    },
    "networkCostAdjustment": {
      "type": "number"
    },
    "loadBalancerCost": {
      "type": "number"
    },
    "loadBalancerCostAdjustment": {
      "type": "number"
    },
    "pvBytes": {
      "type": "number"
    },
    "pvByteHours": {
      "type": "number"
    },
    "pvCost": {
      "type": "number"
    },
    "pvCostAdjustment": {
      "type": "number"
    },
    "ramBytes": {
      "type": "number"
    },
    "ramByteRequestAverage": {
      "type": "number"
    },
    "ramByteUsageAverage": {
      "type": "number"
    },
    "ramByteHours": {
      "type": "number"
    },
    "ramCost": {
      "type": "number"
    },
    "ramCostAdjustment": {
      "type": "number"
    },
    "ramEfficiency": {
      "type": "number"
    },
    "externalCost": {
      "type": "number"
    },
    "sharedCost": {
      "type": "number"
    },
    "totalCost": {
      "type": "number"
    },
    "totalEfficiency": {
      "type": "number"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/kubecost-allocation"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.