💬 Chat Sessions Testing UI

Test and manage all chat session endpoints

GET /aiagent/sessions

Get all saved chat sessions from MongoDB

GET /aiagent/session/{session_id}

Get a specific chat session by session ID or phone number

GET /aiagent/session/by-title/{title}

Get a chat session by title

GET /sessions/user/{phone}

Get session data by phone number

POST /aiagent/save-session

Save a chat session with custom data

DELETE /aiagent/session/{session_id}

Delete a chat session by ID (tries multiple ID variants)

GET /aiagent/active-sessions

Get all currently active chat sessions from memory

GET /sessions/active-count

Get count of active users

GET /sessions/stats

Get session statistics

GET /sessions/debug

Get debug information about sessions

GET /sessions/redis-status

Check Redis connection status

POST /aiagent/conversation

Conversation API for two-way communication (replaces RAG query)