---
title: "query upgrade path for given cluster id"
method: GET
path: "/clusters/{clusterId}/upgrade/path"
tags: ["cluster upgrade"]
---

# query upgrade path for given cluster id

`GET /clusters/{clusterId}/upgrade/path`

query upgrade path for given cluster id

## Path parameters

- `clusterId` string, required

## Response `200`

OK

- object
  - `code` integer
  - `data` object
    - `paths` StructsProductUpgradePathItem[]
      - `upgradeType` 'in-place' | 'migration', required
      - `upgradeWays` string[]
      - `versions` string[], required
  - `message` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

## Changes

> 50 revisions in range; 1 could not be searched.

- **2022-04-13** `dd2bd350861b` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2022-04-08** `52d3173e154e` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2022-03-25** `fbf5f9573f22` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2022-03-25** `34233cf15ffa` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2022-03-23** `685b4c7eb718` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added

[Full history](https://skmtc.dev/pingcap/apis/em-ui-api/changes/clusters/:clusterId/upgrade/path/get.md)

---

[API](https://skmtc.dev/pingcap/apis/em-ui-api.md) · [All operations](https://skmtc.dev/pingcap/apis/em-ui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pingcap/em-ui-api/revisions/631e4b26b7e8/schema)
