---
title: "Get Kubernetes Cluster Kubeconfig"
method: GET
path: "/kubernetes_clusters/{kubernetes_cluster_id}/kubeconfig"
tags: ["Kubernetes Clusters"]
---

# Get Kubernetes Cluster Kubeconfig

`GET /kubernetes_clusters/{kubernetes_cluster_id}/kubeconfig`

Retrieves the kubeconfig file for a Kubernetes cluster. The kubeconfig is only available once the cluster is fully provisioned.

**Note:** Only users with the `owner`, `administrator`, or `collaborator` role can access cluster credentials. Users with the `billing` role cannot perform this action.

## Path parameters

- `kubernetes_cluster_id` string, required

## Response `200`

Success

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.net/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/latitude/latitude-sh-api/revisions/6ad8dacf6642/schema)
