Skip to main content
GET
/
health
Health check
curl --request GET \
  --url https://api.example.com/health
This is a VPS agent endpoint at https://agent.dbhost.app/health, not part of the control plane API. It requires no authentication and is intended for monitoring tools.
Returns the health status of PostgreSQL, PgBouncer, and disk space.

Response

200 OK
{
  "status": "healthy",
  "postgres_connected": true,
  "pgbouncer_running": true,
  "disk_free_bytes": 42300000000,
  "disk_free_pretty": "42.3 GB"
}

Status values

StatusMeaning
healthyBoth PostgreSQL and PgBouncer are running
degradedOne or both services are down