{ "info": { "_postman_id": "44270c75-2d43-4b7e-9830-ac45e633c1de", "name": "CAST AI Kubernetes Cost Optimization AI Enabler Cost Reports API", "description": "CAST AI is a Kubernetes cost optimization platform that provides APIs for managing clusters, autoscaling, node configuration, workload optimization, cost reporting, security insights, and more. The platform continuously monitors clusters and optimizes them for cost efficiency using autoscaling, spot instance automation, bin packing, and other techniques.\n\nContact Support:\n Name: CAST AI", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "lastUpdatedBy": "35240", "uid": "35240-44270c75-2d43-4b7e-9830-ac45e633c1de" }, "item": [ { "name": "cost-reports", "item": [ { "name": "clusters", "item": [ { "name": "{clusterId}", "item": [ { "name": "efficiency", "item": [ { "name": "CAST AI Get cluster efficiency", "id": "a9b5c9d6-c9ba-4c09-92c1-fc6d8d878bd6", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/cost-reports/clusters/:clusterId/efficiency", "host": [ "{{baseUrl}}" ], "path": [ "cost-reports", "clusters", ":clusterId", "efficiency" ], "variable": [ { "id": "3b987478-23a9-4d4e-a0c5-fee406348c91", "key": "clusterId", "value": "", "description": "(Required) The unique identifier of the cluster." } ] }, "description": "Returns efficiency report data for the specified cluster." }, "response": [ { "id": "ba0d5704-dcd3-48da-b960-6cc84eaf7dbf", "name": "Successful response with efficiency data.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "url": { "raw": "{{baseUrl}}/cost-reports/clusters/:clusterId/efficiency", "host": [ "{{baseUrl}}" ], "path": [ "cost-reports", "clusters", ":clusterId", "efficiency" ], "variable": [ { "key": "clusterId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"clusterId\": \"\",\n \"cpuEfficiency\": \"\",\n \"memoryEfficiency\": \"\",\n \"totalMonthlyCost\": \"\",\n \"optimizedMonthlyCost\": \"\",\n \"savingsPercentage\": \"\"\n}", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-ba0d5704-dcd3-48da-b960-6cc84eaf7dbf" }, { "id": "5150d6ea-d885-45e1-aff7-8292e27802c7", "name": "Authentication failed. Invalid or missing API key.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "url": { "raw": "{{baseUrl}}/cost-reports/clusters/:clusterId/efficiency", "host": [ "{{baseUrl}}" ], "path": [ "cost-reports", "clusters", ":clusterId", "efficiency" ], "variable": [ { "key": "clusterId" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-5150d6ea-d885-45e1-aff7-8292e27802c7" }, { "id": "c3ac466a-732f-45ae-8176-684bf78d8f6c", "name": "The requested resource was not found.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "url": { "raw": "{{baseUrl}}/cost-reports/clusters/:clusterId/efficiency", "host": [ "{{baseUrl}}" ], "path": [ "cost-reports", "clusters", ":clusterId", "efficiency" ], "variable": [ { "key": "clusterId" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-c3ac466a-732f-45ae-8176-684bf78d8f6c" } ], "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-a9b5c9d6-c9ba-4c09-92c1-fc6d8d878bd6" } ], "id": "a4c003b4-f224-4ecf-bd33-e93b09fc4607", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-a4c003b4-f224-4ecf-bd33-e93b09fc4607" } ], "id": "12962837-3805-4aa5-b193-a3f58a61f44e", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-12962837-3805-4aa5-b193-a3f58a61f44e" } ], "id": "ea31ad8c-7738-404b-bbd6-da506eb7546a", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-ea31ad8c-7738-404b-bbd6-da506eb7546a" } ], "id": "2222b484-4c25-4d2d-9cd1-fbad45b32133", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-2222b484-4c25-4d2d-9cd1-fbad45b32133" }, { "name": "metrics", "item": [ { "name": "prom", "item": [ { "name": "CAST AI Get cluster metrics", "id": "6ec5f0e6-a2b9-4034-a31a-2d9465797b00", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/metrics/prom", "host": [ "{{baseUrl}}" ], "path": [ "metrics", "prom" ] }, "description": "Returns Prometheus-compatible cluster metrics." }, "response": [ { "id": "b170144d-4f99-4e28-b004-a3026385e07f", "name": "Successful response with cluster metrics.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "url": { "raw": "{{baseUrl}}/metrics/prom", "host": [ "{{baseUrl}}" ], "path": [ "metrics", "prom" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{}", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-b170144d-4f99-4e28-b004-a3026385e07f" }, { "id": "01886a1f-4c5a-45e2-81d7-27bccc925506", "name": "Authentication failed. Invalid or missing API key.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "url": { "raw": "{{baseUrl}}/metrics/prom", "host": [ "{{baseUrl}}" ], "path": [ "metrics", "prom" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-01886a1f-4c5a-45e2-81d7-27bccc925506" } ], "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-6ec5f0e6-a2b9-4034-a31a-2d9465797b00" } ], "id": "a98b2d90-8afa-4151-8076-25d3f1de7c34", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-a98b2d90-8afa-4151-8076-25d3f1de7c34" }, { "name": "nodes", "item": [ { "name": "CAST AI Get node metrics", "id": "a380edc1-d826-4529-9aae-98041d8af01e", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/metrics/nodes", "host": [ "{{baseUrl}}" ], "path": [ "metrics", "nodes" ] }, "description": "Returns node-level metrics data." }, "response": [ { "id": "3ad49cb0-0a8f-46b2-afb2-80f43009f41e", "name": "Successful response with node metrics.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "url": { "raw": "{{baseUrl}}/metrics/nodes", "host": [ "{{baseUrl}}" ], "path": [ "metrics", "nodes" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{}", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-3ad49cb0-0a8f-46b2-afb2-80f43009f41e" }, { "id": "65293e03-9048-4a2f-852b-726d7e1ec86a", "name": "Authentication failed. Invalid or missing API key.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "url": { "raw": "{{baseUrl}}/metrics/nodes", "host": [ "{{baseUrl}}" ], "path": [ "metrics", "nodes" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-65293e03-9048-4a2f-852b-726d7e1ec86a" } ], "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-a380edc1-d826-4529-9aae-98041d8af01e" } ], "id": "38722c5f-4003-466a-bfb5-8d00817b270f", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-38722c5f-4003-466a-bfb5-8d00817b270f" }, { "name": "workloads", "item": [ { "name": "CAST AI Get workload metrics", "id": "1ec76bb3-fa65-41fd-97ae-962ec5877b48", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/metrics/workloads", "host": [ "{{baseUrl}}" ], "path": [ "metrics", "workloads" ] }, "description": "Returns workload-level metrics including cluster_id, namespace, workload_name, and workload_type." }, "response": [ { "id": "499fa125-764c-48d3-a4d9-3f21bc388b2d", "name": "Successful response with workload metrics.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "url": { "raw": "{{baseUrl}}/metrics/workloads", "host": [ "{{baseUrl}}" ], "path": [ "metrics", "workloads" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{}", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-499fa125-764c-48d3-a4d9-3f21bc388b2d" }, { "id": "fadaa00f-a445-42f4-a7f2-430a7b6a73c7", "name": "Authentication failed. Invalid or missing API key.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "url": { "raw": "{{baseUrl}}/metrics/workloads", "host": [ "{{baseUrl}}" ], "path": [ "metrics", "workloads" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-fadaa00f-a445-42f4-a7f2-430a7b6a73c7" } ], "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-1ec76bb3-fa65-41fd-97ae-962ec5877b48" } ], "id": "8dd04bf0-169a-4d8b-93d1-e5783105d7db", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-8dd04bf0-169a-4d8b-93d1-e5783105d7db" }, { "name": "allocation-groups", "item": [ { "name": "CAST AI Get allocation group metrics", "id": "75c00ae0-79f0-4c52-9d06-b68622ba3191", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/metrics/allocation-groups", "host": [ "{{baseUrl}}" ], "path": [ "metrics", "allocation-groups" ] }, "description": "Returns allocation group-level metrics data." }, "response": [ { "id": "b464bff1-3e78-4c6d-adf5-54cdab038d79", "name": "Successful response with allocation group metrics.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "url": { "raw": "{{baseUrl}}/metrics/allocation-groups", "host": [ "{{baseUrl}}" ], "path": [ "metrics", "allocation-groups" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{}", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-b464bff1-3e78-4c6d-adf5-54cdab038d79" }, { "id": "3e657057-c472-4c49-96cb-68c7d972ecf9", "name": "Authentication failed. Invalid or missing API key.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "url": { "raw": "{{baseUrl}}/metrics/allocation-groups", "host": [ "{{baseUrl}}" ], "path": [ "metrics", "allocation-groups" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-3e657057-c472-4c49-96cb-68c7d972ecf9" } ], "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-75c00ae0-79f0-4c52-9d06-b68622ba3191" } ], "id": "1547ea8d-48ca-45ff-ad3a-d5e46e3bce5c", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-1547ea8d-48ca-45ff-ad3a-d5e46e3bce5c" } ], "id": "d2627aeb-f687-4160-8f1e-a524c9ed016d", "createdAt": "2026-07-28T01:17:17.000Z", "updatedAt": "2026-07-28T01:17:17.000Z", "uid": "35240-d2627aeb-f687-4160-8f1e-a524c9ed016d" } ], "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "X-API-Key", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://api.cast.ai/v1" } ] }