---
title: "GET /gateway/v2/cluster-switching/check"
method: GET
path: "/gateway/v2/cluster-switching/check"
tags: ["cluster-switching"]
---

# GET /gateway/v2/cluster-switching/check

`GET /gateway/v2/cluster-switching/check`

## Request

- Base URL: `https://developers.conduktor.io` (the document declares no server; this is the origin it was published from)
- URL: `https://developers.conduktor.io/gateway/v2/cluster-switching/check`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/conduktor/apis/conduktor-gateway-api/docs/gateway/v2/cluster-switching/check/get.ts> (a function with typed inputs; its response is checked against the schema)

Check which physical cluster is currently active (main or failover)

## Response `200`

- ActiveClusterResponse
  - `activePhysicalCluster` string, required

## Other responses

- `401`: The given credentials are not valid
- `500`: An unexpected error occurred in the server

---

[API](https://skmtc.dev/conduktor/apis/conduktor-gateway-api.md) - [All operations](https://skmtc.dev/conduktor/apis/conduktor-gateway-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conduktor/apis/conduktor-gateway-api/revisions/73ad742aa630?raw)
