{"name":"AI Hub - Model Control Panel API","version":"1.0.1","description":"API server that interfaces with multiple AI models","authentication":{"method":"API Key","header":"x-api-key","required":"For all API endpoints except / and /health"},"endpoints":[{"path":"/","method":"GET","description":"API information","protected":false},{"path":"/health","method":"GET","description":"Health check endpoint","protected":false},{"path":"/api/models","method":"GET","description":"List all available models","protected":true},{"path":"/api/prompts","method":"GET","description":"List all available prompts","protected":true},{"path":"/api/completions","method":"POST","description":"Generate a completion","protected":true},{"path":"/api/completions/stream","method":"POST","description":"Stream a completion","protected":true},{"path":"/api/astro/reading","method":"POST","description":"Astrological reading with AI","protected":true},{"path":"/api/astro/enhanced-reading","method":"POST","description":"Enhanced astrological reading using Astro API prompt with AI","protected":true},{"path":"/api/astro/metrics","method":"POST","description":"Astrological metrics with AI","protected":true},{"path":"/api/astro/synastry","method":"POST","description":"Synastry reading with AI","protected":true},{"path":"/api/astro/enhanced-synastry","method":"POST","description":"Enhanced synastry compatibility reading using Astro API prompt with AI","protected":true},{"path":"/api/astro/report/:reportId","method":"GET","description":"Get stored compatibility report by ID (public, no auth required)","protected":false},{"path":"/api/astro/synastry-metrics","method":"POST","description":"Synastry metrics with AI","protected":true},{"path":"/api/astro/raw/:endpoint","method":"POST","description":"Raw passthrough to Astro API endpoints","protected":true},{"path":"/api/astro-interpreter/focused-reading","method":"POST","description":"Get focused astrological reading with integrated AI interpretation","protected":true},{"path":"/api/astro-interpreter/focused-synastry","method":"POST","description":"Get focused synastry analysis with integrated AI interpretation","protected":true},{"path":"/api/astro-interpreter/personalized-daily","method":"POST","description":"Generate personalized daily reading with 3-step AI process (natal profile → transit selection → intimate reading). Supports single model or multi-model configuration.","protected":true},{"path":"/api/astro-interpreter/personalized-daily-v2","method":"POST","description":"V2: Sacred conversations with refined JSON structure (keyThemes, resonance scores, invitation, newThemes)","protected":true},{"path":"/api/astro-interpreter/personalized-daily-compare","method":"POST","description":"Compare multiple model configurations for personalized daily readings (A/B testing)","protected":true},{"path":"/api/famous-people","method":"POST","description":"Get famous people by zodiac sign or name search for compatibility readings","protected":true},{"path":"/api/subscription/check","method":"GET","description":"Check subscription status for authenticated user","protected":true},{"path":"/api/subscription/list","method":"GET","description":"List all subscriptions for authenticated user","protected":true},{"path":"/api/polar/checkout","method":"POST","description":"Create checkout link for subscription","protected":true},{"path":"/api/polar/webhook","method":"POST","description":"Handle webhook events from Polar.sh","protected":false},{"path":"/api/iris/chat","method":"POST","description":"Iris chat - proxy to Iris (requires IRIS_CHAT_URL)","protected":true},{"path":"/api/iris/chat/stream","method":"POST","description":"Iris chat streaming - SSE proxy to Iris","protected":true}],"documentation":"https://github.com/Oscar-Tideback/ai-hub#readme"}