> For the complete documentation index, see [llms.txt](https://docs.espressosys.com/network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.espressosys.com/network/developer/espresso-api/earlier-versions/espresso-api/status-api.md).

# Status API

This API provides insight into the inner workings of consensus. It is primarily useful to the operator of the node, as many of the metrics provided here make for useful [alerts](broken://pages/8h0xt8Fi1Pwmz2DL3o3v#monitoring).

## Endpoints

### GET `/status/block-height`

The last known block height of the chain.

#### Returns `integer`

### GET `/status/success-rate`

The view success rate since genesis. This equals the number of views completed divided by the number of successful views, i.e. the block height.

#### Returns `float`

### GET `/status/time-since-last-decide`

The elapsed time, in seconds, since consensus last decided on a block. Useful to alert when consensus is stalled or this node has been disconnected from consensus.

#### Returns `integer`

### GET `/status/metrics`

Exposes all metrics recorded by consensus in Prometheus format.
