# System

Health and metrics (no auth)

2 endpoints. Generated from `docs/openapi.yaml` v1.0.0.

| Endpoint | Summary |
| --- | --- |
| [`GET /healthz`](#get-healthz) | Liveness |
| [`GET /readyz`](#get-readyz) | Readiness |

## GET /healthz

**Liveness**  ·  _Auth: none — public_  ·  `operationId: healthz`

#### Responses

| Status | Body | Meaning |
| --- | --- | --- |
| `200` | `object` | Alive. |

**`200` response body**

| Field | Type | Description |
| --- | --- | --- |
| `ok` | `boolean` | — |

```json
{
  "ok": true
}
```

#### Example request

```bash
curl -X GET 'https://api.cryptoinfra.build/healthz'
```

## GET /readyz

**Readiness**  ·  _Auth: none — public_  ·  `operationId: readyz`

#### Responses

| Status | Body | Meaning |
| --- | --- | --- |
| `200` | `object` | Ready. |
| `503` | `object` | Not ready. |

**`200` response body**

| Field | Type | Description |
| --- | --- | --- |
| `ready` | `boolean` | — |

```json
{
  "ready": true
}
```

#### Example request

```bash
curl -X GET 'https://api.cryptoinfra.build/readyz'
```
