Skip to content

fastapi-ht

FastAPI health checks with separate liveness and readiness probes, a visual status page, and a small API for custom monitoring.

fastapi-ht logo

fastapi-ht example interface

fastapi-ht example interface with a failing dependency

Why fastapi-ht

  • Separate /health/live and /health/ready JSON probes
  • A combined /ht endpoint for browser-friendly HTML and JSON clients
  • A lightweight registry for grouping health checks
  • A simple health_check() API for custom checks
  • Class-based checks for advanced use cases
  • A built-in visual page for operational inspection

Built for practical monitoring

The library does not ship with a database integration by default.

Instead, it gives you the primitives to monitor what matters in your own backend:

  • databases
  • Redis or cache layers
  • queues
  • external APIs
  • storage backends
  • internal services and domain-specific dependencies

Start here