{
  "info": {
    "_postman_id": "44b79cf7-9a3c-4ad2-856c-d36101a1a9e5",
    "name": "CAST AI Kubernetes Cost Optimization AI Enabler Workload Optimization 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:54.000Z",
    "updatedAt": "2026-07-28T01:17:54.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-44b79cf7-9a3c-4ad2-856c-d36101a1a9e5"
  },
  "item": [
    {
      "name": "workload-autoscaling",
      "item": [
        {
          "name": "clusters",
          "item": [
            {
              "name": "{clusterId}",
              "item": [
                {
                  "name": "workloads",
                  "item": [
                    {
                      "name": "{workloadId}",
                      "item": [
                        {
                          "name": "CAST AI Get workload",
                          "id": "f2491070-0dcc-431b-8393-0dc194c7b328",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/workload-autoscaling/clusters/:clusterId/workloads/:workloadId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "workload-autoscaling",
                                "clusters",
                                ":clusterId",
                                "workloads",
                                ":workloadId"
                              ],
                              "variable": [
                                {
                                  "id": "8805793d-5d7b-44b9-97ef-fd9d8b8e2ea7",
                                  "key": "clusterId",
                                  "value": "<uuid>",
                                  "description": "(Required) The unique identifier of the cluster."
                                },
                                {
                                  "id": "3b2c16ad-bf9b-46df-a2c0-e456cdcc2aec",
                                  "key": "workloadId",
                                  "value": "<string>",
                                  "description": "(Required) "
                                }
                              ]
                            },
                            "description": "Returns workload details and optimization recommendations."
                          },
                          "response": [
                            {
                              "id": "bd62a668-6f00-4ebb-8e4d-56013f5d6bc7",
                              "name": "Successful response with workload details.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "X-API-Key",
                                    "value": "<API Key>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/workload-autoscaling/clusters/:clusterId/workloads/:workloadId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "workload-autoscaling",
                                    "clusters",
                                    ":clusterId",
                                    "workloads",
                                    ":workloadId"
                                  ],
                                  "variable": [
                                    {
                                      "key": "clusterId"
                                    },
                                    {
                                      "key": "workloadId"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"id\": \"<uuid>\",\n  \"clusterId\": \"<uuid>\",\n  \"namespace\": \"<string>\",\n  \"name\": \"<string>\",\n  \"type\": \"DaemonSet\",\n  \"containers\": [\n    {\n      \"name\": \"<string>\",\n      \"requests\": {\n        \"cpu\": \"<string>\",\n        \"memory\": \"<string>\"\n      },\n      \"recommendations\": {\n        \"cpu\": \"<string>\",\n        \"memory\": \"<string>\"\n      }\n    },\n    {\n      \"name\": \"<string>\",\n      \"requests\": {\n        \"cpu\": \"<string>\",\n        \"memory\": \"<string>\"\n      },\n      \"recommendations\": {\n        \"cpu\": \"<string>\",\n        \"memory\": \"<string>\"\n      }\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T01:17:54.000Z",
                              "updatedAt": "2026-07-28T01:17:54.000Z",
                              "uid": "35240-bd62a668-6f00-4ebb-8e4d-56013f5d6bc7"
                            },
                            {
                              "id": "a4687102-f140-45db-972c-f9accd1d1da0",
                              "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": "<API Key>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/workload-autoscaling/clusters/:clusterId/workloads/:workloadId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "workload-autoscaling",
                                    "clusters",
                                    ":clusterId",
                                    "workloads",
                                    ":workloadId"
                                  ],
                                  "variable": [
                                    {
                                      "key": "clusterId"
                                    },
                                    {
                                      "key": "workloadId"
                                    }
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<integer>\"\n}",
                              "createdAt": "2026-07-28T01:17:54.000Z",
                              "updatedAt": "2026-07-28T01:17:54.000Z",
                              "uid": "35240-a4687102-f140-45db-972c-f9accd1d1da0"
                            },
                            {
                              "id": "b73ebdea-5c2d-41fc-bf1e-f8adcfadc659",
                              "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": "<API Key>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/workload-autoscaling/clusters/:clusterId/workloads/:workloadId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "workload-autoscaling",
                                    "clusters",
                                    ":clusterId",
                                    "workloads",
                                    ":workloadId"
                                  ],
                                  "variable": [
                                    {
                                      "key": "clusterId"
                                    },
                                    {
                                      "key": "workloadId"
                                    }
                                  ]
                                }
                              },
                              "status": "Not Found",
                              "code": 404,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<integer>\"\n}",
                              "createdAt": "2026-07-28T01:17:54.000Z",
                              "updatedAt": "2026-07-28T01:17:54.000Z",
                              "uid": "35240-b73ebdea-5c2d-41fc-bf1e-f8adcfadc659"
                            }
                          ],
                          "createdAt": "2026-07-28T01:17:54.000Z",
                          "updatedAt": "2026-07-28T01:17:54.000Z",
                          "uid": "35240-f2491070-0dcc-431b-8393-0dc194c7b328"
                        }
                      ],
                      "id": "6fd3a125-b445-44bf-89bf-6b9801be226d",
                      "createdAt": "2026-07-28T01:17:54.000Z",
                      "updatedAt": "2026-07-28T01:17:54.000Z",
                      "uid": "35240-6fd3a125-b445-44bf-89bf-6b9801be226d"
                    },
                    {
                      "name": "CAST AI List workloads",
                      "id": "251b0a0e-7955-44e1-83e4-0939e2e0a1ac",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/workload-autoscaling/clusters/:clusterId/workloads",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "workload-autoscaling",
                            "clusters",
                            ":clusterId",
                            "workloads"
                          ],
                          "variable": [
                            {
                              "id": "653c9550-877d-4f50-a3cd-4442805a6a90",
                              "key": "clusterId",
                              "value": "<uuid>",
                              "description": "(Required) The unique identifier of the cluster."
                            }
                          ]
                        },
                        "description": "Returns a list of workloads for the given cluster."
                      },
                      "response": [
                        {
                          "id": "ad2b0b8b-4a83-4694-a44d-fa8cc32dca46",
                          "name": "Successful response with list of workloads.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "X-API-Key",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/workload-autoscaling/clusters/:clusterId/workloads",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "workload-autoscaling",
                                "clusters",
                                ":clusterId",
                                "workloads"
                              ],
                              "variable": [
                                {
                                  "key": "clusterId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"items\": [\n    {\n      \"id\": \"<uuid>\",\n      \"clusterId\": \"<uuid>\",\n      \"namespace\": \"<string>\",\n      \"name\": \"<string>\",\n      \"type\": \"Deployment\",\n      \"containers\": [\n        {\n          \"name\": \"<string>\",\n          \"requests\": {\n            \"cpu\": \"<string>\",\n            \"memory\": \"<string>\"\n          },\n          \"recommendations\": {\n            \"cpu\": \"<string>\",\n            \"memory\": \"<string>\"\n          }\n        },\n        {\n          \"name\": \"<string>\",\n          \"requests\": {\n            \"cpu\": \"<string>\",\n            \"memory\": \"<string>\"\n          },\n          \"recommendations\": {\n            \"cpu\": \"<string>\",\n            \"memory\": \"<string>\"\n          }\n        }\n      ]\n    },\n    {\n      \"id\": \"<uuid>\",\n      \"clusterId\": \"<uuid>\",\n      \"namespace\": \"<string>\",\n      \"name\": \"<string>\",\n      \"type\": \"Job\",\n      \"containers\": [\n        {\n          \"name\": \"<string>\",\n          \"requests\": {\n            \"cpu\": \"<string>\",\n            \"memory\": \"<string>\"\n          },\n          \"recommendations\": {\n            \"cpu\": \"<string>\",\n            \"memory\": \"<string>\"\n          }\n        },\n        {\n          \"name\": \"<string>\",\n          \"requests\": {\n            \"cpu\": \"<string>\",\n            \"memory\": \"<string>\"\n          },\n          \"recommendations\": {\n            \"cpu\": \"<string>\",\n            \"memory\": \"<string>\"\n          }\n        }\n      ]\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T01:17:54.000Z",
                          "updatedAt": "2026-07-28T01:17:54.000Z",
                          "uid": "35240-ad2b0b8b-4a83-4694-a44d-fa8cc32dca46"
                        },
                        {
                          "id": "9dfa19a2-8b3b-4464-8a67-ab1d841d51e8",
                          "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": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/workload-autoscaling/clusters/:clusterId/workloads",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "workload-autoscaling",
                                "clusters",
                                ":clusterId",
                                "workloads"
                              ],
                              "variable": [
                                {
                                  "key": "clusterId"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<integer>\"\n}",
                          "createdAt": "2026-07-28T01:17:54.000Z",
                          "updatedAt": "2026-07-28T01:17:54.000Z",
                          "uid": "35240-9dfa19a2-8b3b-4464-8a67-ab1d841d51e8"
                        },
                        {
                          "id": "0178ed02-4e3b-4384-920d-d096b0655488",
                          "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": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/workload-autoscaling/clusters/:clusterId/workloads",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "workload-autoscaling",
                                "clusters",
                                ":clusterId",
                                "workloads"
                              ],
                              "variable": [
                                {
                                  "key": "clusterId"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<integer>\"\n}",
                          "createdAt": "2026-07-28T01:17:54.000Z",
                          "updatedAt": "2026-07-28T01:17:54.000Z",
                          "uid": "35240-0178ed02-4e3b-4384-920d-d096b0655488"
                        }
                      ],
                      "createdAt": "2026-07-28T01:17:54.000Z",
                      "updatedAt": "2026-07-28T01:17:54.000Z",
                      "uid": "35240-251b0a0e-7955-44e1-83e4-0939e2e0a1ac"
                    }
                  ],
                  "id": "5cf7bf1c-143c-4190-95a3-9606dfa47c71",
                  "createdAt": "2026-07-28T01:17:54.000Z",
                  "updatedAt": "2026-07-28T01:17:54.000Z",
                  "uid": "35240-5cf7bf1c-143c-4190-95a3-9606dfa47c71"
                }
              ],
              "id": "13dfc6b8-5d5d-4a59-9a32-eeec0ef09e4d",
              "createdAt": "2026-07-28T01:17:54.000Z",
              "updatedAt": "2026-07-28T01:17:54.000Z",
              "uid": "35240-13dfc6b8-5d5d-4a59-9a32-eeec0ef09e4d"
            }
          ],
          "id": "21ad5e1e-04d0-40a4-99c6-c5dd28bad027",
          "createdAt": "2026-07-28T01:17:54.000Z",
          "updatedAt": "2026-07-28T01:17:54.000Z",
          "uid": "35240-21ad5e1e-04d0-40a4-99c6-c5dd28bad027"
        },
        {
          "name": "agent-statuses",
          "item": [
            {
              "name": "CAST AI Get agent statuses",
              "id": "0b17a7d9-d514-4a64-8af4-d06cebfbab8b",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/workload-autoscaling/agent-statuses",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workload-autoscaling",
                    "agent-statuses"
                  ]
                },
                "description": "Returns status of workload-autoscaler agents for all clusters in an organization."
              },
              "response": [
                {
                  "id": "6fdbdc3f-dc19-4148-b0ef-690cdf79751d",
                  "name": "Successful response with agent statuses.",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "X-API-Key",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/workload-autoscaling/agent-statuses",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "workload-autoscaling",
                        "agent-statuses"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"items\": [\n    {\n      \"clusterId\": \"<uuid>\",\n      \"status\": \"<string>\",\n      \"lastSeenAt\": \"<dateTime>\"\n    },\n    {\n      \"clusterId\": \"<uuid>\",\n      \"status\": \"<string>\",\n      \"lastSeenAt\": \"<dateTime>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T01:17:54.000Z",
                  "updatedAt": "2026-07-28T01:17:54.000Z",
                  "uid": "35240-6fdbdc3f-dc19-4148-b0ef-690cdf79751d"
                },
                {
                  "id": "c95ed01b-3ccc-4d1d-920c-ae20d627dc7f",
                  "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": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/workload-autoscaling/agent-statuses",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "workload-autoscaling",
                        "agent-statuses"
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<integer>\"\n}",
                  "createdAt": "2026-07-28T01:17:54.000Z",
                  "updatedAt": "2026-07-28T01:17:54.000Z",
                  "uid": "35240-c95ed01b-3ccc-4d1d-920c-ae20d627dc7f"
                }
              ],
              "createdAt": "2026-07-28T01:17:54.000Z",
              "updatedAt": "2026-07-28T01:17:54.000Z",
              "uid": "35240-0b17a7d9-d514-4a64-8af4-d06cebfbab8b"
            }
          ],
          "id": "c6718a8a-3073-4de9-8a20-dab0a55c6a5d",
          "createdAt": "2026-07-28T01:17:54.000Z",
          "updatedAt": "2026-07-28T01:17:54.000Z",
          "uid": "35240-c6718a8a-3073-4de9-8a20-dab0a55c6a5d"
        }
      ],
      "id": "6b0a4f06-1c07-4574-be30-36460895aaa5",
      "createdAt": "2026-07-28T01:17:54.000Z",
      "updatedAt": "2026-07-28T01:17:54.000Z",
      "uid": "35240-6b0a4f06-1c07-4574-be30-36460895aaa5"
    }
  ],
  "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"
    }
  ]
}