Opencost Allocation Api

An OpenCostAllocationAPI property references an API endpoint that exposes Kubernetes and cloud infrastructure cost allocation data in a format compatible with the OpenCost Allocation API specification. The OpenCost API returns workload cost data aggregated by namespace, deployment, pod, service, or label, and supports time-window queries and shared cost distribution. Indexing an OpenCost-compatible allocation endpoint makes container cost data programmatically accessible to FinOps dashboards, chargeback tools, and engineering teams.

Also known as: OpenCost API, Kubernetes Cost Allocation API, Allocation Endpoint

Example

opencost-allocation-api.yaml
- type: OpenCostAllocationAPI
  url: https://developers.example.com/costs/allocation

Standards

Media Types

OpenAPI Expression

Governance Rules

Risk & Compliance

Compliance:

Security: Allocation APIs disclose workload-level spend, label values, and capacity posture; require authentication and consider scoping by namespace or RBAC role.

Tools

Suggested Metrics

Example Implementations

Related Properties

Tags


All Community Properties