{ "info": { "_postman_id": "20e908ba-b54b-4c41-beb2-d221b1065089", "name": "CAST AI Kubernetes Cost Optimization AI Enabler Inventory 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:20.000Z", "updatedAt": "2026-07-28T01:17:21.000Z", "lastUpdatedBy": "35240", "uid": "35240-20e908ba-b54b-4c41-beb2-d221b1065089" }, "item": [ { "name": "inventory", "item": [ { "name": "blacklist", "item": [ { "name": "add", "item": [ { "name": "CAST AI Add to blacklist", "id": "e37a90bd-73cc-41fa-8c7f-6e4466eb3242", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"instanceTypes\": [\n \"\",\n \"\"\n ],\n \"regions\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/inventory/blacklist/add", "host": [ "{{baseUrl}}" ], "path": [ "inventory", "blacklist", "add" ] }, "description": "Adds instance types or regions to the inventory blacklist." }, "response": [ { "id": "43f373b0-0295-4228-9402-91ff14f89ae2", "name": "Added to blacklist successfully.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"instanceTypes\": [\n \"\",\n \"\"\n ],\n \"regions\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/inventory/blacklist/add", "host": [ "{{baseUrl}}" ], "path": [ "inventory", "blacklist", "add" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:17:21.000Z", "updatedAt": "2026-07-28T01:17:21.000Z", "uid": "35240-43f373b0-0295-4228-9402-91ff14f89ae2" }, { "id": "2de782d8-0342-4174-b49d-4c30ebb78465", "name": "Authentication failed. Invalid or missing API key.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-API-Key", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"instanceTypes\": [\n \"\",\n \"\"\n ],\n \"regions\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/inventory/blacklist/add", "host": [ "{{baseUrl}}" ], "path": [ "inventory", "blacklist", "add" ] } }, "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:21.000Z", "updatedAt": "2026-07-28T01:17:21.000Z", "uid": "35240-2de782d8-0342-4174-b49d-4c30ebb78465" } ], "createdAt": "2026-07-28T01:17:21.000Z", "updatedAt": "2026-07-28T01:17:21.000Z", "uid": "35240-e37a90bd-73cc-41fa-8c7f-6e4466eb3242" } ], "id": "0dea5850-caed-4cc7-998e-3fa6e3a97810", "createdAt": "2026-07-28T01:17:21.000Z", "updatedAt": "2026-07-28T01:17:21.000Z", "uid": "35240-0dea5850-caed-4cc7-998e-3fa6e3a97810" } ], "id": "573f51a6-aac8-437a-8306-8377b0a02846", "createdAt": "2026-07-28T01:17:21.000Z", "updatedAt": "2026-07-28T01:17:21.000Z", "uid": "35240-573f51a6-aac8-437a-8306-8377b0a02846" } ], "id": "b63a88d1-832f-4969-8688-0ad9c7bcfd03", "createdAt": "2026-07-28T01:17:21.000Z", "updatedAt": "2026-07-28T01:17:21.000Z", "uid": "35240-b63a88d1-832f-4969-8688-0ad9c7bcfd03" } ], "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" } ] }