## List NKS Kubernetes Versions

`$ nirvana nks:kubernetes-versions list`

**get** `/v1/nks/kubernetes_versions`

List all supported Kubernetes versions for NKS clusters

### Parameters

- `--cursor: optional string`

  Pagination cursor returned by a previous request

- `--limit: optional number`

  Maximum number of items to return

### Returns

- `List-NKSKubernetesVersion: object { items, pagination }`

  - `items: array of KubernetesVersion`

    - `created_at: string`

      When the Kubernetes version was created.

    - `display_name: string`

      Display name of the Kubernetes version.

    - `name: string`

      Name of the Kubernetes version.

  - `pagination: object { next_cursor, previous_cursor, total_count }`

    Pagination response details.

    - `next_cursor: string`

    - `previous_cursor: string`

    - `total_count: number`

### Example

```cli
nirvana nks:kubernetes-versions list \
  --api-key 'My API Key'
```

#### Response

```json
{
  "items": [
    {
      "created_at": "2025-01-01T00:00:00Z",
      "display_name": "Kubernetes v1.34.4",
      "name": "v1.34.4"
    }
  ],
  "pagination": {
    "next_cursor": "RhwniMT4B74siYZcPF8TnCdGI1l9rpPvg",
    "previous_cursor": "ARhwnmi1hA7wEbHbMjdYQlOB_ZusP4fYvw",
    "total_count": 125
  }
}
```
