---
title: "Get all auto-upgrades"
method: GET
path: "/ocean/azure/np/cluster/{oceanClusterId}/autoUpgrade"
tags: ["Ocean AKS"]
---

# Get all auto-upgrades

`GET /ocean/azure/np/cluster/{oceanClusterId}/autoUpgrade`

## Request

- Base URL: `https://api.spotinst.io`
- URL: `https://api.spotinst.io/ocean/azure/np/cluster/{oceanClusterId}/autoUpgrade`
- Auth: HTTP bearer

Returns a list of all auto-upgrade operations for the specified Ocean AKS cluster.

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` (unresolved $ref)
- `#/paths/~1ocean~1aws~1k8s~1cluster~1%7BoceanClusterId%7D/get/parameters/1` (unresolved $ref)

## Response `200`

List of auto upgrade.

- object[]
  - `oceanId` string: The identifier of the ocean cluster being upgraded.
  - `scope` 'patch'
  - `rollId` string: The identifier of the cluster roll (if created).
  - `systemNodePoolsOperationId` string: The identifier of the system node pool upgrade operation (if created).
  - `oldVersion` string: The old version of the cluster's control plane.
  - `newVersion` string: The newest available version.
  - `status` 'START' | 'UPGRADE_CONTROL_PLANE' | 'VALIDATE_CONTROL_PLANE_UPGRADE' | 'CREATE_SYSTEM_NODE_POOLS_UPDATE' | 'CREATE_ROLL' | 'AWAIT_NODE_POOLS_UPGRADE' | 'COMPLETED' | 'PARTIALLY_COMPLETED' | 'FAILED': The status of the upgrade.
  - `description` string: The description of the upgrade, including any errors or issues found during the process.
  - `createdAt` string: The creation timestamp of the upgrade.

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/spot/apis/spot-by-flexera-api.md) - [All operations](https://skmtc.dev/spot/apis/spot-by-flexera-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spot/apis/spot-by-flexera-api/revisions/f7e206fa6474?raw)
