{"message":"RAG Service API","version":"1.0.0","documentation":"/docs","endpoint_groups":{"RAG":{"prefix":"/rag","endpoints":["POST /rag/chat - Chat with RAG system","POST /rag/data_ingestion - Ingest data from multiple sources","POST /rag/create_collection - Create a new collection","POST /rag/delete_collection - Delete a collection","GET /rag/conversation_history/{thread_id} - Get conversation history"]},"LLM":{"prefix":"/llm","endpoints":["POST /llm/elaborate_prompt - Elaborate a prompt"]},"SMS":{"prefix":"/sms","endpoints":["POST /sms/send - Send SMS via Twilio"]},"Email":{"prefix":"/email","endpoints":["GET /email/authorize - Start Gmail OAuth authorization","GET /email/oauth2callback - OAuth callback (automatic)","POST /email/send - Send email via Gmail API (requires X-User-Email header)","DELETE /email/logout - Remove stored Gmail credentials","GET /email/connected-users - List connected Gmail accounts"]},"Tools":{"prefix":"/tools","endpoints":["POST /tools/register - Register or update a tool with structured schema","POST /tools/delete - Delete a tool by tool_id","GET /tools/list - List all registered tools","GET /tools/get/{tool_id} - Get a specific tool by ID"]},"CRM":{"prefix":"/crm","endpoints":["POST /crm/register-search-tool - Register CRM search tool for user","POST /crm/register-create-tool - Register CRM create tool for user","POST /crm/register-update-tool - Register CRM update tool for user","PATCH /crm/tools/{tool_id} - Update CRM tool configuration","DELETE /crm/tools/{tool_id} - Delete CRM tool","GET /crm/tools?user_id={user_id} - Get all CRM tools for user"]},"HTTP Tool Registration":{"prefix":"/http-tools","endpoints":["POST /http-tools/register - Register custom HTTP tool for user","PATCH /http-tools/tools/{tool_id} - Update HTTP tool configuration","DELETE /http-tools/tools/{tool_id} - Delete HTTP tool","GET /http-tools/tools?user_id={user_id} - Get all HTTP tools for user"]}}}