---
title: "Check if a server is a master"
method: GET
path: "/api/clusters/{clusterName}/servers/{serverName}/is-master"
tags: ["Database"]
---

# Check if a server is a master

`GET /api/clusters/{clusterName}/servers/{serverName}/is-master`

Checks if a specified server within a cluster is a master.

## Path parameters

- `clusterName` string, required
- `serverName` string, required

## Response `200`

200 -Valid Master!

## Other responses

- `500` — No cluster
- `503` — 503 -Not a Valid Master!

## Changes

- **2026-07-17** `7465ea0ee21a` — 3 warning, 2 info
  - the optional response header `Access-Control-Allow-Origin` removed for the status `200`
  - the optional response header `Access-Control-Allow-Origin` removed for the status `500`
  - the optional response header `Access-Control-Allow-Origin` removed for the status `503`
  - api operation id `serverName-is-master` removed and replaced with ``
  - …1 more
- **2023-03-31** `b57fc7b9446e` — 2 info
  - api operation id `serverName-is-master` was added
  - api tag `Database` removed

[Change history](https://skmtc.dev/signal18/apis/untitled-api/changes/api/clusters/:clusterName/servers/:serverName/is-master/get.md)

---

[API](https://skmtc.dev/signal18/apis/untitled-api.md) · [All operations](https://skmtc.dev/signal18/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/signal18/untitled-api/revisions/7465ea0ee21a/schema)
