Basic health check
GET /api/health
Returns a simple liveness response. No authentication required. Suitable for load balancer health probes and Docker / Kubernetes healthcheck directives.
200
Always
ok when the server is running.ISO 8601 server timestamp.
Detailed health check
GET /api/health/detailed
Returns extended server information. Requires authentication.
200
Server status string.
Server uptime in seconds.
ISO 8601 timestamp.
Application version.
Run all health checks
GET /api/health/check
Executes a full suite of health checks and persists the results to the database. Requires authentication.
Checks include: database connectivity, platform connectivity (GitLab / GitHub), AI provider availability, and disk space.
200
Aggregated health status:
healthy | degraded | unhealthy.Get current health status
GET /api/health/status
Returns the most recent health check results from the database cache. Faster than running a full check. Requires authentication.
Response 200
Overall health status:
healthy | degraded | unhealthy.Most recent check results for each component.
ISO 8601 timestamp.
Health check history
GET /api/health/history
Returns historical health check records with optional filtering. Requires authentication.
Filter by component type:
database | gitlab | ai_provider | disk_space.Filter by result status:
healthy | degraded | unhealthy.ISO 8601 start date.
ISO 8601 end date.
Maximum number of records to return.
200
Historical health check records.
Individual component checks
The following endpoints each run a check for a specific component, save the result to the database, and return it. All require authentication.Database
GET /api/health/database
Checks the PostgreSQL database connection.
GitLab
GET /api/health/gitlab
Checks connectivity to the configured GitLab instance(s).
AI Providers
GET /api/health/ai-providers
Checks all configured AI providers.
Response 200
One check result per configured AI provider.
Disk space
GET /api/health/disk-space
Checks available disk space on the server.
The
GET /api/health endpoint (basic liveness check) does not require authentication and is safe to expose to external health monitoring systems. All other health endpoints require a valid session or API key.