Create a small JSON health endpoint with FastAPI.
from fastapi import FastAPI app = FastAPI() @app.get("/health") async def health_check(): return {"ok": True, "service": "ducktype-api"}