{
  "info": {
    "_postman_id": "361b4696-dcf4-4b29-97d0-1067d84aa75f",
    "name": "CAST AI Kubernetes Cost Optimization AI Enabler Allocation Groups 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:13.000Z",
    "updatedAt": "2026-07-28T01:17:13.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-361b4696-dcf4-4b29-97d0-1067d84aa75f"
  },
  "item": [
    {
      "name": "allocation-groups",
      "item": [
        {
          "name": "{allocationGroupId}",
          "item": [
            {
              "name": "workloads",
              "item": [
                {
                  "name": "efficiency",
                  "item": [
                    {
                      "name": "CAST AI Get allocation group workloads efficiency",
                      "id": "27ac2edc-837e-4f39-9b3b-9bc56782a9d9",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/allocation-groups/:allocationGroupId/workloads/efficiency",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "allocation-groups",
                            ":allocationGroupId",
                            "workloads",
                            "efficiency"
                          ],
                          "variable": [
                            {
                              "id": "facb037d-e45d-4a68-a097-2f8c9dfb4f7d",
                              "key": "allocationGroupId",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Gets allocation group efficiency workloads."
                      },
                      "response": [
                        {
                          "id": "705bc393-c82d-4b34-8e47-676ee0bbd70c",
                          "name": "Successful response with allocation group 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": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/allocation-groups/:allocationGroupId/workloads/efficiency",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "allocation-groups",
                                ":allocationGroupId",
                                "workloads",
                                "efficiency"
                              ],
                              "variable": [
                                {
                                  "key": "allocationGroupId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"allocationGroupId\": \"<string>\",\n  \"workloads\": [\n    {\n      \"name\": \"<string>\",\n      \"namespace\": \"<string>\",\n      \"cpuEfficiency\": \"<number>\",\n      \"memoryEfficiency\": \"<number>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"namespace\": \"<string>\",\n      \"cpuEfficiency\": \"<number>\",\n      \"memoryEfficiency\": \"<number>\"\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T01:17:14.000Z",
                          "updatedAt": "2026-07-28T01:17:14.000Z",
                          "uid": "35240-705bc393-c82d-4b34-8e47-676ee0bbd70c"
                        },
                        {
                          "id": "38ab17f0-47c2-42af-9c68-51d718b1991b",
                          "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}}/allocation-groups/:allocationGroupId/workloads/efficiency",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "allocation-groups",
                                ":allocationGroupId",
                                "workloads",
                                "efficiency"
                              ],
                              "variable": [
                                {
                                  "key": "allocationGroupId"
                                }
                              ]
                            }
                          },
                          "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:14.000Z",
                          "updatedAt": "2026-07-28T01:17:14.000Z",
                          "uid": "35240-38ab17f0-47c2-42af-9c68-51d718b1991b"
                        },
                        {
                          "id": "bbfc76be-46df-4f77-89fe-0dcae59515c8",
                          "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}}/allocation-groups/:allocationGroupId/workloads/efficiency",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "allocation-groups",
                                ":allocationGroupId",
                                "workloads",
                                "efficiency"
                              ],
                              "variable": [
                                {
                                  "key": "allocationGroupId"
                                }
                              ]
                            }
                          },
                          "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:14.000Z",
                          "updatedAt": "2026-07-28T01:17:14.000Z",
                          "uid": "35240-bbfc76be-46df-4f77-89fe-0dcae59515c8"
                        }
                      ],
                      "createdAt": "2026-07-28T01:17:14.000Z",
                      "updatedAt": "2026-07-28T01:17:14.000Z",
                      "uid": "35240-27ac2edc-837e-4f39-9b3b-9bc56782a9d9"
                    }
                  ],
                  "id": "0c09ad19-4eac-4548-9399-62964a275aa1",
                  "createdAt": "2026-07-28T01:17:14.000Z",
                  "updatedAt": "2026-07-28T01:17:14.000Z",
                  "uid": "35240-0c09ad19-4eac-4548-9399-62964a275aa1"
                }
              ],
              "id": "996def2e-e5fd-4d4c-85f7-ef6ba6978660",
              "createdAt": "2026-07-28T01:17:14.000Z",
              "updatedAt": "2026-07-28T01:17:14.000Z",
              "uid": "35240-996def2e-e5fd-4d4c-85f7-ef6ba6978660"
            }
          ],
          "id": "4c67febc-b0e0-46cc-ac75-2bb3db7a89c4",
          "createdAt": "2026-07-28T01:17:14.000Z",
          "updatedAt": "2026-07-28T01:17:14.000Z",
          "uid": "35240-4c67febc-b0e0-46cc-ac75-2bb3db7a89c4"
        }
      ],
      "id": "6fa1bc12-530e-47fa-a15c-56b81250d987",
      "createdAt": "2026-07-28T01:17:14.000Z",
      "updatedAt": "2026-07-28T01:17:14.000Z",
      "uid": "35240-6fa1bc12-530e-47fa-a15c-56b81250d987"
    }
  ],
  "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"
    }
  ]
}