Skip to content
PharmaFlow Knowledgebase
Esc
↑↓navigate↵open⌘Jpreview

Check service and database health

Public smoke check. Returns ok plus the database pool state. It runs one trivial query, so a process up with an unreachable database fails here, not later.

GET/health
Responses
200

Service is up

statusstringrequired
servicestringrequired
database_poolstringrequired
Try it
Server
Request
curl -X GET 'http://localhost:8000/health'
Response
{
  "status": "string",
  "service": "string",
  "database_pool": "string"
}