# GET /health/api — Service health

Availability check for monitoring. No authorization.

`db` is the database, `redis` the cache. The service works without the cache (`degraded`) but not without the database (`503`).

Authorization: not required.

**Responses**

- `200 OK` — Up

```json
{
  "status": "ok",
  "timestamp": 1794573411400,
  "db": "ok",
  "redis": "ok"
}
```

- `200 OK` — No cache

```json
{
  "status": "degraded",
  "timestamp": 1794573411400,
  "db": "ok",
  "redis": "unavailable"
}
```

- `503 Service Unavailable` — Down

```json
{
  "status": "error",
  "timestamp": 1794573411400,
  "db": "unavailable",
  "redis": "ok"
}
```

Web version: https://docs.merchant.dbdlobby.com/en/reference/health
