{"success":true,"message":"AI Chat Backend API (Node.js)","version":"6.0.0","description":"AI Chat with Firebase Auth, Multi-Model AI, Streaming, Vision, MCP Tools, and Advanced Features","features":["Firebase Authentication (Google Sign-In)","Multi-Model AI (8 models)","Streaming Response (Real-time typing effect)","Image/Vision Support (AI can see images)","MCP Tools (Gmail, Drive, Calendar integration)","Auto-generate Title (Smart conversation titles)","Message Management (Edit, Delete, Search)","Session Enhancement (Archive, Pin, Share)","User Preferences (Custom settings)","Analytics & Usage Tracking","Configurable Rate Limiting"],"endpoints":{"auth":{"POST /api/auth/firebase":"Login with Firebase (Google Sign-In)","GET /api/auth/me":"Get current user info (protected)","POST /api/auth/logout":"Logout user (protected)"},"models":{"GET /api/models":"Get list of available AI models"},"chat":{"POST /api/chat/new":"Create new conversation (protected)","POST /api/chat":"Send chat message with auto-title generation (protected)","POST /api/chat/stream":"Send chat with streaming response/SSE (protected)","POST /api/chat/vision":"Send chat with image/vision support (protected)","GET /api/chat/sessions":"Get all user conversations (protected)","GET /api/chat/history/:sessionId":"Get chat history (protected)","PATCH /api/chat/session/:sessionId":"Update conversation title (protected)","DELETE /api/chat/session/:sessionId":"Delete conversation (protected)","PATCH /api/chat/message/:messageId":"Edit message (protected)","DELETE /api/chat/message/:messageId":"Delete message (protected)","GET /api/chat/search":"Search messages (protected)","PATCH /api/chat/session/:sessionId/archive":"Archive/unarchive session (protected)","PATCH /api/chat/session/:sessionId/pin":"Pin/unpin session (protected)","POST /api/chat/session/:sessionId/share":"Share session publicly (protected)","DELETE /api/chat/session/:sessionId/share":"Unshare session (protected)"},"preferences":{"GET /api/preferences":"Get user preferences (protected)","PUT /api/preferences":"Update user preferences (protected)","DELETE /api/preferences":"Reset preferences to default (protected)"},"presets":{"GET /api/presets":"Get all user presets (protected)","POST /api/presets":"Create new preset (protected)","PUT /api/presets/:id":"Update preset (protected)","DELETE /api/presets/:id":"Delete preset (protected)"},"analytics":{"GET /api/analytics/summary":"Get usage analytics summary (protected)","GET /api/analytics/daily":"Get daily usage stats (protected)"},"public":{"GET /api/public/shared/:shareToken":"Get shared session (public)"},"oauth":{"GET /api/oauth/authorize/:service":"Get OAuth authorization URL (protected)","GET /api/oauth/callback":"OAuth callback handler (public)","GET /api/oauth/status":"Get user authorization status (protected)","DELETE /api/oauth/revoke/:service":"Revoke service authorization (protected)"}},"authentication":"Firebase Authentication (Google Sign-In supported)","rateLimit":"Unlimited (disabled)"}