Skip to main content
GET
/
v1
/
status
Get current node status
curl --request GET \
  --url http://127.0.0.1:22100/v1/status \
  --header 'Authorization: Bearer <token>'
{
  "generation": 123,
  "node_id": "<string>",
  "role": "standalone"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Current generation and node role

generation
integer<int64>
required
node_id
string
required
role
enum<string>
required
Available options:
standalone,
leader,
follower