{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kubecost Savings API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Model",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Kubecost Get cluster right-sizing recommendations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{kubecost-address}/model/savings/clusterSizingETL",
            "params": [
              {
                "name": "window",
                "value": "",
                "type": "query",
                "description": "Duration of time to analyze for recommendations."
              }
            ]
          },
          "docs": "Returns recommendations for right-sizing clusters based on actual resource usage, including potential monthly savings."
        },
        {
          "info": {
            "name": "Kubecost Get container request right-sizing recommendations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{kubecost-address}/model/savings/requestSizingV2",
            "params": [
              {
                "name": "window",
                "value": "",
                "type": "query",
                "description": "Duration of time to analyze for recommendations."
              },
              {
                "name": "targetCPUUtilization",
                "value": "",
                "type": "query",
                "description": "Target CPU utilization percentage (0-1)."
              },
              {
                "name": "targetRAMUtilization",
                "value": "",
                "type": "query",
                "description": "Target RAM utilization percentage (0-1)."
              },
              {
                "name": "filterClusters",
                "value": "",
                "type": "query",
                "description": "Filter by cluster name (comma-separated)."
              },
              {
                "name": "filterNamespaces",
                "value": "",
                "type": "query",
                "description": "Filter by namespace (comma-separated)."
              },
              {
                "name": "filterControllers",
                "value": "",
                "type": "query",
                "description": "Filter by controller name (comma-separated)."
              },
              {
                "name": "filterLabels",
                "value": "",
                "type": "query",
                "description": "Filter by label in the format label:value."
              }
            ]
          },
          "docs": "Returns recommendations for right-sizing container resource requests (CPU and memory) based on actual usage patterns."
        },
        {
          "info": {
            "name": "Kubecost List abandoned workloads",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{kubecost-address}/model/savings/abandonedWorkloads",
            "params": [
              {
                "name": "window",
                "value": "",
                "type": "query",
                "description": "Duration of time to analyze."
              }
            ]
          },
          "docs": "Returns a list of workloads that appear to be abandoned based on low resource utilization over the specified window."
        },
        {
          "info": {
            "name": "Kubecost List orphaned disks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{kubecost-address}/model/savings/orphanedDisks"
          },
          "docs": "Returns a list of persistent volumes and disks that are not attached to any running workload."
        },
        {
          "info": {
            "name": "Kubecost List orphaned IP addresses",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{kubecost-address}/model/savings/orphanedIPs"
          },
          "docs": "Returns a list of allocated IP addresses that are not associated with any active resource."
        }
      ]
    }
  ],
  "bundled": true
}