---
title: "Health"
method: GET
path: "/api/health"
---

# Health

`GET /api/health`

## Request

- Base URL: `https://www.awardflightdaily.com` (the document declares no server; this is the origin it was published from)
- URL: `https://www.awardflightdaily.com/api/health`
- Auth: none declared

Lightweight liveness probe — Docker HEALTHCHECK pings this every 60s
with a 10s timeout. Must NOT touch the DB: when a write (e.g. the
nightly prune) holds the DuckDB file lock, the SELECT here used to
block, the probe used to time out, Docker would declare the container
unhealthy, and Railway would kill it mid-write. That's the "container
keeps restarting during prune" symptom. Task #120.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/awardflightdaily/apis/award-flight-database.md) · [All operations](https://skmtc.dev/awardflightdaily/apis/award-flight-database/llms.txt) · [OpenAPI document](https://skmtc.dev/awardflightdaily/apis/award-flight-database/revisions/93e62de446f9?raw)
