routes.health
Health check routes for agent-runtimes server.
health_check
@router.get("")
async def health_check() -> dict[str, Any]
Basic health check endpoint.
Returns:
Health status with timestamp.
readiness_check
@router.get("/ready")
async def readiness_check() -> dict[str, Any]
Readiness check endpoint.
Checks if the service is ready to accept traffic.
Returns:
Readiness status with component states.
liveness_check
@router.get("/live")
async def liveness_check() -> dict[str, Any]
Liveness check endpoint.
Simple check to verify the service is alive.
Returns:
Liveness status.