Skip to content

Health

Service health check and monitoring endpoints.

API Endpoints

MethodPathAuthDescription
GET/api/healthNoService health check
GET/api/docsNoSwagger UI (interactive API documentation)
GET/uploads/*NoStatic files (local uploads)

Health Check

Returns service status including database connectivity and uptime:

json
{
  "status": "ok",
  "timestamp": "2025-01-01T00:00:00.000Z",
  "uptime": 3600,
  "database": "connected"
}

In production, error details are hidden for security.