{
  "id": "node_master_healthcheck",
  "title": "Node master healthcheck requests",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/references/rest-api/requests/node_master_healthcheck/",
  "summary": "REST API requests to check a node's connection to the cluster's primary node.",
  "content": "\n| Method | Path | Description |\n|--------|------|-------------|\n| [GET](#get-node-master-healthcheck) | `/v1/local/node/master_healthcheck` | Checks a node's connection to the primary node |\n\n## Get master healthcheck {#get-node-master-healthcheck}\n\n```sh\nGET /v1/local/node/master_healthcheck\n```\n\nChecks whether the current node has a valid connection to the cluster's primary node and the Cluster Configuration Store (CCS).\n\n### Required permissions\n\n| Permission name | Roles |\n|-----------------|-------|\n| [view_cluster_info]() | admin\u003cbr /\u003ecluster_member\u003cbr /\u003ecluster_viewer\u003cbr /\u003edb_member\u003cbr /\u003edb_viewer\u003cbr /\u003euser_manager |\n\n### Request {#get-request}\n\n#### Example HTTP request\n\n```sh\nGET /v1/local/node/master_healthcheck\n```\n\n\n#### Headers\n\n| Key | Value | Description |\n|-----|-------|-------------|\n| Host | cnm.cluster.fqdn | Domain name |\n| Accept | application/json | Accepted media type |\n\n\n### Response {#get-response}\n\nReturns a JSON object that includes the status of the current node's connection to the cluster's primary node and the CCS.\n\n- `active`: the current node has a valid connection.\n\n- `inactive`: the current node doesn't have a valid connection.\n\n#### Example JSON response body\n\n```json\n{\n  \"status\": \"active\"\n}\n```\n\n#### Status codes {#get-status-codes}\n\n| Code | Description |\n|------|-------------|\n| [200 OK](https://www.rfc-editor.org/rfc/rfc9110.html#name-200-ok) | No error |\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00",
  "children": []
}

