INNER CODE UNIT · Python
api_health
marc-shade/world-intel-mcp · src/world_intel_mcp/dashboard/app.py:584
async def api_health(request):
"""Health check."""
return JSONResponse({"status": "ok"})
async def api_report_pdf(request):
"""PDF report generation (removed — use the live dashboard instead)."""
return JSONResponse(
{"error": "PDF reports removed — use the live dashboard at /"},
status_code=410,
)
async def sse_vector_analytics(request):
"""SSE endpoint — pushes vector store analytics every 30 seconds."""
async def event_generator():
while True: