# Process liveness

URL: https://docs.healthcare.dev/reference/service/process-liveness

```http
GET https://api.healthcare.dev/healthz
```

Returns 200 while the process is up. Does not check dependencies.

Public: no API key needed.

## Examples

**curl**

```sh
curl "https://api.healthcare.dev/healthz"
```

**TypeScript**

```ts
const res = await fetch("https://api.healthcare.dev/healthz");
const { data, meta } = await res.json();
```

**Python**

```python
import requests

res = requests.get("https://api.healthcare.dev/healthz")
body = res.json()
```

## Response

Process is alive

```json
{
  "status": "ok",
  "version": "string"
}
```

### Fields

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `status` | "ok" | yes |  |
| `version` | string | yes |  |
