open-nomad/website/source/docs/http/sys-leader.html.md

618 B

layout page_title sidebar_current description
http HTTP API: /sys/leader docs-http-ha-leader The '/sys/leader' endpoint is used to check the high availability status and current leader of Nomad.

/sys/leader

Description
Returns the high availability status and current leader instance of Nomad.
Method
GET
Parameters
None
Returns
```javascript
{
  "ha_enabled": true,
  "is_self": false,
  "leader_address": "https://127.0.0.1:8200/"
}
```