A status API exists, which dumps some diagnostic and statistical information, as well as basic information about the underlying Raft node. Assuming the rqlite node is started with default settings, node status is available via a HTTP `GET` request. To see the raw data, you can issue a `curl` command like so:
The _nodes_ API returns basic information for every node in the cluster, as seen by the node receiving the _nodes_ request. The receiving node will also check whether each other node is currently connected to it, and report that status. This is an effective way to determine the cluster leader, and the leader's HTTP API address. It can also be used to check if the cluster is **basically** running -- if every node is reachable, it probably is.
```bash
curl localhost:4001/nodes?pretty
```
You can also request the same nodes information via the CLI:
```
$ ./rqlite
Welcome to the rqlite CLI. Enter ".help" for usage hints.
rqlite also exports [expvar](http://godoc.org/pkg/expvar/) information. The standard expvar information, as well as some custom information, is exposed. This data can be retrieved like so (assuming the node is started in its default configuration):