# Readiness probe

> Verifies the Postgres connection. (GET /readyz)

Source: https://sightradar.com/docs/api/health/readiness-probe

Verifies the Postgres connection. 200 = ready, 503 = not ready. Unauthenticated.

### Example request

```bash
curl -X GET "https://api.sightradar.com/readyz"
```

### Response body

| Field            | Type                 | Description                   |
| ---------------- | -------------------- | ----------------------------- |
| `status`         | `string`             |                               |
| `postgres`       | `string`             |                               |
| `engine_breaker` | `"closed" \| "open"` | Engine circuit-breaker state. |
| `schema_version` | `string`             | Applied database migration.   |

### Status codes

| Status | Meaning                                    |
| ------ | ------------------------------------------ |
| `200`  | Ready to serve traffic.                    |
| `503`  | Not ready (Postgres down or unconfigured). |
