TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/farojas85/fast-rest-api/llms.txt
Use this file to discover all available pages before exploring further.
/health endpoint confirms the API is running and accepting requests. It is a lightweight, unauthenticated probe designed for load balancer health checks, Kubernetes liveness probes, and uptime monitoring dashboards. No credentials are required and no database queries are performed — the response is returned directly by the FastAPI application layer.
Endpoint
| Property | Value |
|---|---|
| Method | GET |
| Path | /health |
| Auth | None required |
| Tags | (root-level — not mounted under /api/v1) |
Response
A successful probe returns HTTP200 OK with a JSON body confirming service availability.
| Property | Value |
|---|---|
| HTTP Status | 200 OK |
| Content-Type | application/json |
Example
Send aGET request to /health with curl:
Source
The route is registered directly on the rootFastAPI application instance in src/main.py:
Because
/health is mounted at the application root (not behind the /api/v1 router prefix), it is always reachable regardless of which versioned routers are active. This makes it safe to use as both a liveness and a readiness probe in containerised deployments.