{"service":"purlpal-analytics-backend","version":"1.1.0","endpoints":{"GET /health":"Health check with API key status and OpenRouter credits","GET /config":"Model and configuration info","POST /session":"Create ephemeral OpenAI Realtime token","POST /responses":"OpenAI Responses API proxy (Chat/Vision)","POST /openrouter":"OpenRouter API proxy (supports all models)","POST /medicare/search":"Search Medicare plans by ZIP","POST /medicare/plan":"Get plan details by ID","POST /medicare/counties":"List counties in state","GET /medicare/states":"List all supported states","GET /medicare/health":"Medicare API health check","GET /aca/health":"ACA database health check","POST /aca/plans/monthly-costs":"Get monthly premium costs by age","POST /aca/plans/specialist-costs":"Get specialist visit costs","POST /aca/plans/emergency-costs":"Get ER/urgent care/ambulance costs","POST /aca/plans/drug-costs":"Get prescription drug costs","POST /aca/plans/moop":"Get Maximum Out-of-Pocket limits","POST /aca/plans/deductibles":"Get deductible information","POST /aca/plans/oop-coverage":"Get comprehensive OOP coverage","POST /aca/plans/by-zip":"Get plans available by ZIP code","POST /aca/plans/comparison":"Get complete plan comparison","GET /aca/glossary/states":"List all available state glossaries","GET /aca/glossary/:stateCode":"Get benefit glossary for state (optimized for LLM)","POST /sessions/create":"Create new conversation session","GET /sessions/:id":"Get session metadata","GET /sessions/device/:id":"Get sessions for device","POST /sessions/:id/end":"End a session (optionally with endType)","PUT /sessions/:id/end-type":"Set session end type","PUT /sessions/:id/language":"Save language analysis results","POST /sessions/:id/pause":"Pause a session (inactivity timeout)","POST /sessions/:id/resume":"Resume a paused session","DELETE /sessions/clear-all":"Backup and clear all sessions (requires confirmation)","POST /sessions/:id/messages":"Save message to session","GET /sessions/:id/history":"Get conversation history","POST /sessions/:id/media":"Upload multimodal content","POST /sessions/:id/navigation":"Track page navigation","GET /sessions/:id/navigation":"Get navigation history with durations","POST /sessions/:id/events":"Save event (function call, thinking, etc.)","GET /sessions/:id/events":"Get session events","PUT /sessions/:id/events/:eventId":"Update event (e.g., add result)","POST /sessions/:id/annotations":"Create annotation for session","GET /sessions/:id/annotations":"Get annotations for session","PUT /sessions/:id/annotations/:annotationId":"Update annotation","DELETE /sessions/:id/annotations/:annotationId":"Delete annotation","POST /sessions/:id/ratings":"Save rating for session (by admin)","GET /sessions/:id/ratings":"Get all ratings for session","GET /ratings/rubric":"Get the rating rubric structure"}}