# Liveness

> Outside `/v1` and unauthenticated. Answers 200 whenever the process can serve HTTP, and checks no dependency, so it stays 200 during a database or worker outage.

Source: https://docs.spicrawl.com/api-reference/health/health-live

## GET /healthz

Operation ID: `healthLive`.

Outside `/v1` and unauthenticated. Answers 200 whenever the process can serve HTTP, and checks no
dependency, so it stays 200 during a database or worker outage. Use `/readyz` to decide whether to
send traffic.

### Example

```bash
curl "https://api.spicrawl.com/healthz" \
  -H "Authorization: Bearer $SPICRAWL_API_KEY"
```

### Responses

#### 200

The process is alive.

`application/json`.

| Field | Type | Required | Description |
|---|---|---|---|
| `status` | string | yes | Always `ok`. |

Example `ok`

```json
{
  "status": "ok"
}
```

Full OpenAPI spec: https://docs.spicrawl.com/openapi.yaml
