> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tape.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Health

> Readiness check for load balancers and monitoring.

Reports whether the gateway is ready to serve. Point your load balancer or uptime monitor here.

Two possible answers:

* `200` with a ready status, once the gateway has caught up with the chain.
* `503` with a bootstrapping status and a progress snapshot, while it's still replaying history.

This endpoint and [stats](/apis/gateway/status/stats) answer at all times. Every other route returns `503` until the gateway is ready ([conventions](/apis/gateway)).

## Example

```bash theme={null}
curl -i "$TAPE_GATEWAY/v1/health"
```

```json Ready theme={null}
{ "status": "ready" }
```

```json Bootstrapping theme={null}
{
  "status": "bootstrapping",
  "bootstrap": {
    "phase": "block_replay",
    "snapshot_epoch": 412,
    "start_slot": 18100000,
    "current_slot": 18234500,
    "target_slot": 18240010,
    "percent_done": 96.1,
    "slots_per_sec": 850.0,
    "eta_secs": 6,
    "skipped_slots": 120
  }
}
```

All fields are snake\_case. `bootstrap` appears only while bootstrapping, and `eta_secs` is omitted until enough slots have replayed to estimate a rate. `phase` is one of `starting`, `snapshot_replay`, `block_replay`, `ready`.
