{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kubermatic/main/json-schema/kubermatic-post-api-clusters-kubeconfig-request-schema.json",
  "title": "PostApiClustersKubeconfigRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/kubermatic-openapi-generated.yml#/components/schemas/PostApiClustersKubeconfigRequest",
  "type": "object",
  "properties": {
    "kubeconfig": {
      "type": "string",
      "description": "The kubeconfig file to upload."
    },
    "registerAgent": {
      "type": "string",
      "description": "Set to \"true\" to create an SGAgent CR."
    },
    "clusterName": {
      "type": "string",
      "description": "Name for the SGAgent (defaults to the first context)."
    }
  },
  "required": [
    "kubeconfig"
  ]
}