/api/health endpoint is an unauthenticated liveness check. It returns 200 OK with a JSON body whenever the ThreatLab server process is running. Use it for load balancer health probes, Docker and Kubernetes readiness checks, or any uptime monitoring service that needs a reliable ping target.
Method: GETPath:
/api/healthAuth: None required
Response Body
200 status or a network error indicates the server is down or unreachable.
Example
Typical Use Cases
- Load balancer health probe — configure your load balancer (AWS ALB, nginx, HAProxy) to poll
/api/healthand remove the instance from rotation on failure. - Docker / Kubernetes readiness probe — set this endpoint as your
readinessProbeorHEALTHCHECKtarget so the orchestrator knows when the container is ready to serve traffic. - Uptime monitoring services — add
https://threatlab.your-org.com/api/healthto Uptime Robot, Better Uptime, or any HTTP monitor that checks for a200response.
This endpoint confirms the Next.js server process is running and can accept requests. It does not check database connectivity, SIEM availability, or Icinga reachability. Use the Platform Status SSE stream for deeper infrastructure health visibility.