This endpoint provides real-time health metrics for the Sessions API service, including active session counts and service uptime.
Response
Service health status: “healthy”, “degraded”, or “unhealthy”
Number of currently active (non-expired) sessions
ISO timestamp of the health check
Number of sessions that are within their warning threshold
Number of corrupted or invalid sessions detected (only shown if > 0)
Service uptime in seconds
Example Response
Health Status Meanings
- healthy: Service is operating normally
- degraded: Service is operational but experiencing issues (e.g., invalid sessions detected)
- unhealthy: Service is not operational or experiencing critical issues
Usage
This endpoint is useful for:- Monitoring service availability
- Tracking session volume
- Detecting memory leaks (via active session count)
- Setting up health check probes in orchestration systems
- Dashboard metrics and alerting
Response
200 - application/json
Sessions API is healthy
Available options:
healthy
, degraded
, unhealthy
Number of currently active sessions
Number of sessions near expiration
Number of invalid sessions detected (only shown if > 0)
Service uptime in seconds