{ "opencollection": "1.0.0", "info": { "name": "OpenCost Allocation API", "version": "1.0" }, "items": [ { "info": { "name": "Allocation", "type": "folder" }, "items": [ { "info": { "name": "Query Kubernetes workload cost allocations", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9003/allocation", "params": [ { "name": "window", "value": "", "type": "query", "description": "Duration of time over which to query." }, { "name": "aggregate", "value": "", "type": "query", "description": "Field by which to aggregate (namespace, controller, label:app, etc.)." }, { "name": "step", "value": "", "type": "query", "description": "Duration of a single allocation set." }, { "name": "accumulate", "value": "", "type": "query" }, { "name": "resolution", "value": "", "type": "query" }, { "name": "includeIdle", "value": "", "type": "query" }, { "name": "shareIdle", "value": "", "type": "query" }, { "name": "idleByNode", "value": "", "type": "query" } ] }, "docs": "Returns costs and resources allocated to Kubernetes workloads based on on-demand list pricing. The 'data' field is an array of sets, one per 'step'." } ] } ], "bundled": true }