# Health

> Liveness and database reachability.

Canonical: https://docs.whabuzz.com/api/health/

Liveness and database reachability.

Base URL `https://api.whabuzz.com`. Every request needs `Authorization: Bearer <key>` unless the operation says otherwise; see [Authentication](https://docs.whabuzz.com/authentication.md). Errors follow the [two-source contract](https://docs.whabuzz.com/errors.md).

Operations on this page:

- [`GET /v1/health`](#getHealth): Service health

## Service health {#getHealth}

`GET /v1/health`

**Auth:** None (public). **Operation id:** `getHealth`.

cURL:

```bash
curl -X GET "https://api.whabuzz.com/v1/health"
```

**Responses**

**200** Healthy

```json
{
  "ok": true,
  "sha": "a77affe",
  "db": "ok"
}
```

**503** Database unreachable

```json
{
  "ok": false,
  "sha": "a77affe",
  "db": "error"
}
```
