---
title: "Fetch HA Status"
method: GET
path: "/restapi/json/v1/server/getHighAvailabilityStatus"
tags: ["Server"]
---

# Fetch HA Status

`GET /restapi/json/v1/server/getHighAvailabilityStatus`

## Request

- Base URL: `https://Hostname:Port`
- URL: `https://Hostname:Port/restapi/json/v1/server/getHighAvailabilityStatus`
- Auth: API key in header `AUTHTOKEN`
- TypeScript: <https://skmtc.dev/manageengine/apis/pam360-rest-api/docs/restapi/json/v1/server/getHighAvailabilityStatus/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the current High Availability (HA) configuration status of the PAM360 server. The HA status indicates whether High Availability is configured or not.

## Headers

- `orgName` string

## Response `200`

OK

- HighAvailabilityStatusResponse
  - `operation` object
    - `result` OperationResult
      - `message` string: Result message describing the operation outcome
      - `status` string: Operation status
    - `Details` object
      - `haStatus` string: Overall HA status
      - `isPrimaryServer` string: Whether the current server is the primary server
      - `primaryServer` string: Hostname of the primary server
      - `primaryServerStatus` string: Status of the primary server
      - `secondaryServer` string: Hostname of the secondary server
      - `secondaryServerStatus` string: Status of the secondary server
    - `name` string

---

[API](https://skmtc.dev/manageengine/apis/pam360-rest-api.md) - [All operations](https://skmtc.dev/manageengine/apis/pam360-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/manageengine/apis/pam360-rest-api/revisions/44a47abb4bdb?raw)
