{
  "opencollection": "1.0.0",
  "info": {
    "name": "Crusoe Auto Clusters API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "AutoClusters",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the AutoClusters configuration for a specific cluster.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloud.crusoe.ai/v1/projects/:project_id/kubernetes/clusters/:cluster_id/autoclusters/config",
            "params": [
              {
                "name": "project_id",
                "value": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
                "type": "path",
                "description": "Project ID"
              },
              {
                "name": "cluster_id",
                "value": "e384a1de-81f8-4cb2-b312-a7d88a9bf9cb",
                "type": "path",
                "description": "Cluster ID"
              }
            ]
          },
          "docs": "Returns the cluster's Autoclusters configuration including alert handling defaults and any customer overrides."
        },
        {
          "info": {
            "name": "Update the AutoClusters configuration for a specific cluster.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.cloud.crusoe.ai/v1/projects/:project_id/kubernetes/clusters/:cluster_id/autoclusters/config",
            "params": [
              {
                "name": "project_id",
                "value": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
                "type": "path",
                "description": "Project ID"
              },
              {
                "name": "cluster_id",
                "value": "e384a1de-81f8-4cb2-b312-a7d88a9bf9cb",
                "type": "path",
                "description": "Cluster ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Allows setting or removing remediation overrides and configuring project reservation fallback."
        },
        {
          "info": {
            "name": "Trigger VM remediation.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.cloud.crusoe.ai/v1/projects/:project_id/kubernetes/clusters/:cluster_id/autoclusters/vms/:vm_id/remediate",
            "params": [
              {
                "name": "project_id",
                "value": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
                "type": "path"
              },
              {
                "name": "cluster_id",
                "value": "e384a1de-81f8-4cb2-b312-a7d88a9bf9cb",
                "type": "path"
              },
              {
                "name": "vm_id",
                "value": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
                "type": "path"
              }
            ]
          },
          "docs": "Trigger remediation for a VM within a Kubernetes cluster with AutoClusters add-on enabled. This creates an AutoClusters operation and returns an\nasynchronous operation handle. Currently, this defaults to performing a replace node operation."
        }
      ]
    }
  ],
  "bundled": true
}