Skip to main content
The health check endpoint lets you confirm that your RAG PDF Highlighter instance is up and accepting connections. It requires no request body and returns a fixed JSON payload indicating the service is operational. Use it in load balancer health checks, container orchestration liveness probes, or your own uptime monitoring scripts.

Request

Method: GET
Path: /
Parameters: none
Request body: none
curl http://localhost:8000/

Response

200 OK

The service is running and ready to accept requests.
{"status": "ok the app is running"}
status
string
Always "ok the app is running" when the service is healthy. This value is fixed — you can use an exact string match to determine liveness.

Use Cases

Container liveness probes — Kubernetes and other orchestrators can hit GET / on a configurable interval. A 200 response means the container is alive; any non-200 response or connection failure triggers a restart. Load balancer health checks — Configure your load balancer to poll GET / and remove the instance from the pool if it stops responding. Smoke testing after deployment — After deploying a new version of the service, call GET / before routing production traffic to verify the instance started correctly.