{
  "info": {
    "_postman_id": "d8ca02a8-1d97-4322-8de8-362af4712276",
    "name": "CAST AI Kubernetes Cost Optimization AI Enabler Settings 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:51.000Z",
    "updatedAt": "2026-07-28T01:17:51.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-d8ca02a8-1d97-4322-8de8-362af4712276"
  },
  "item": [
    {
      "name": "settings",
      "item": [
        {
          "name": "api-keys",
          "item": [
            {
              "name": "{apiKeyId}",
              "item": [
                {
                  "name": "CAST AI Create or update API key settings",
                  "id": "b051a05f-0742-4ecf-823a-6e6c375c0cdf",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"apiKeyId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"createdAt\": \"<dateTime>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/settings/api-keys/:apiKeyId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "settings",
                        "api-keys",
                        ":apiKeyId"
                      ],
                      "variable": [
                        {
                          "id": "9d8dd7ef-944a-400c-ad61-0d92ac018d24",
                          "key": "apiKeyId",
                          "value": "<string>",
                          "description": "(Required) "
                        }
                      ]
                    },
                    "description": "Create or update settings for an API key."
                  },
                  "response": [
                    {
                      "id": "1d0962f9-7b02-4353-841b-da0612a293e7",
                      "name": "API key settings updated successfully.",
                      "originalRequest": {
                        "method": "PUT",
                        "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": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"apiKeyId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"createdAt\": \"<dateTime>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/settings/api-keys/:apiKeyId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "settings",
                            "api-keys",
                            ":apiKeyId"
                          ],
                          "variable": [
                            {
                              "key": "apiKeyId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"apiKeyId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"createdAt\": \"<dateTime>\"\n}",
                      "createdAt": "2026-07-28T01:17:52.000Z",
                      "updatedAt": "2026-07-28T01:17:52.000Z",
                      "uid": "35240-1d0962f9-7b02-4353-841b-da0612a293e7"
                    },
                    {
                      "id": "c32ac61f-123a-4143-8edc-4b44dd527782",
                      "name": "Authentication failed. Invalid or missing API key.",
                      "originalRequest": {
                        "method": "PUT",
                        "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": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"apiKeyId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"createdAt\": \"<dateTime>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/settings/api-keys/:apiKeyId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "settings",
                            "api-keys",
                            ":apiKeyId"
                          ],
                          "variable": [
                            {
                              "key": "apiKeyId"
                            }
                          ]
                        }
                      },
                      "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:52.000Z",
                      "updatedAt": "2026-07-28T01:17:52.000Z",
                      "uid": "35240-c32ac61f-123a-4143-8edc-4b44dd527782"
                    },
                    {
                      "id": "f8cf82c1-0081-486d-8d62-3d57e4bf0f90",
                      "name": "The requested resource was not found.",
                      "originalRequest": {
                        "method": "PUT",
                        "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": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"apiKeyId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"createdAt\": \"<dateTime>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/settings/api-keys/:apiKeyId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "settings",
                            "api-keys",
                            ":apiKeyId"
                          ],
                          "variable": [
                            {
                              "key": "apiKeyId"
                            }
                          ]
                        }
                      },
                      "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:52.000Z",
                      "updatedAt": "2026-07-28T01:17:52.000Z",
                      "uid": "35240-f8cf82c1-0081-486d-8d62-3d57e4bf0f90"
                    }
                  ],
                  "createdAt": "2026-07-28T01:17:52.000Z",
                  "updatedAt": "2026-07-28T01:17:52.000Z",
                  "uid": "35240-b051a05f-0742-4ecf-823a-6e6c375c0cdf"
                }
              ],
              "id": "c255b115-1122-4f68-aac9-47501479823b",
              "createdAt": "2026-07-28T01:17:52.000Z",
              "updatedAt": "2026-07-28T01:17:52.000Z",
              "uid": "35240-c255b115-1122-4f68-aac9-47501479823b"
            }
          ],
          "id": "ddc2e181-8528-4264-8157-60525efe5d76",
          "createdAt": "2026-07-28T01:17:52.000Z",
          "updatedAt": "2026-07-28T01:17:52.000Z",
          "uid": "35240-ddc2e181-8528-4264-8157-60525efe5d76"
        }
      ],
      "id": "4a3707fd-00a8-4c94-ab2c-01fdbc2bdc85",
      "createdAt": "2026-07-28T01:17:52.000Z",
      "updatedAt": "2026-07-28T01:17:52.000Z",
      "uid": "35240-4a3707fd-00a8-4c94-ab2c-01fdbc2bdc85"
    }
  ],
  "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"
    }
  ]
}