Skip to content

Health Check API

The Health Check API provides a simple mechanism to verify that the DUMB container and core services are operational.


Endpoint

GET /health

Returns a JSON response indicating whether the container is healthy.

Response

{
  "status": "healthy"
}

If the check fails, the status will be "unhealthy" and include diagnostic output.


Use Cases

  • Used by orchestrators or monitoring tools to confirm container availability.
  • Use in load balancers or uptime monitoring dashboards.

Implementation

This route executes a background health check script in the container:

/healthcheck.py
It runs within the same virtual environment as DUMB and ensures all critical files, paths, and subprocesses are functional.