API Reference

Health

These endpoints let a load balancer or uptime monitor check that the Chat service is up. They are unauthenticated and return fixed markers; they are not a diagnostic API and do not report the health of any dependency.

Check service health

GET /api/health

Returns a marker confirming the service is running.

A lightweight liveness check. It returns a fixed healthy marker whenever the service can answer the request, and takes no parameters.

Authentication
None

Parameters

No parameters.

Returns

Returns a status marker.

Request
curl "$VDF_BASE_URL/api/health"
Response 200
{
  "success": true,
  "status": "healthy",
  "message": "Service is running"
}

Check detailed health

GET /api/health/detailed

Returns the same liveness signal as Check service health, with a version string and a set of component markers. The component values and the version are static values reported alongside the liveness check, not the outcome of a live probe of each component.

Authentication
None

Parameters

No parameters.

Returns

Returns the component markers and version.

Request
curl "$VDF_BASE_URL/api/health/detailed"
Response 200
{
  "success": true,
  "status": "healthy",
  "components": {
    "api": "healthy",
    "database": "healthy"
  },
  "version": "1.0.0"
}