Chat History
Chat History
Chat History stores every conversation you have with the AI, organised by session. Use it to revisit past interactions, continue a previous conversation, or export sessions for reference.
Session list
Navigate to JoomlaAI → Chat History.
| Column | Description |
|---|---|
| Title | Session title (auto-generated from the first message, or set manually) |
| User | The admin user who started the session |
| Provider · Model | AI provider and model used |
| Messages | Total number of messages in the session |
| Tokens | Total tokens consumed across all messages |
| Started | When the first message was sent |
| Last activity | When the most recent message was sent |
| Actions | Open · Export · Delete |
Filtering
| Filter | Options |
|---|---|
| User | All users / specific user |
| Provider | All / Claude / OpenAI / Gemini / Groq / Nvidia / Ollama |
| Date range | From / To |
| Search | Full-text search across session titles |
Viewing a session
Click the session title to open it in the Chatbot view in read mode. You can:
- Scroll through the full conversation.
- Continue the session by typing a new message (appended to the existing session).
- Click Export to download as Markdown or JSON.
Session titles
When you start a new chat, JoomlaAI generates a title from your first message (truncated to 60 characters). Click the title in the Chatbot view or Chat History list to rename it.
Retention
By default, sessions are retained for 90 days. The daily cleanup cron job (JoomlaAI: cleanup old data) purges sessions older than the retention period.
To change the retention period:
- Joomla: Configuration → Data → Chat history retention (days)
- WP: Settings → Data Retention → Chat sessions (days)
Setting to 0 disables automatic cleanup (sessions are kept indefinitely).
Privacy
- Chat content is stored in the
#__joomlaai_chat_messages/wpai_chat_messagesdatabase table. - Only the session's owner and users with the
wpai_view_chat_historycapability can view sessions. - Super Admins / WordPress Administrators can view all sessions.
- The cleanup job purges old sessions, but active sessions are always kept.
Export format
Markdown
# Session: My content strategy chat
**Date:** 2026-05-15 · **Provider:** Claude · **Model:** claude-sonnet-4-20250514
---
**You (2026-05-15 10:22):**
Write a 300-word intro for our new travel blog.
**Claude (2026-05-15 10:22):**
Certainly! Here's a compelling introduction...
JSON
{
"session_id": 42,
"title": "My content strategy chat",
"provider": "claude",
"model": "claude-sonnet-4-20250514",
"messages": [
{"role": "user", "content": "Write a 300-word intro...", "created_at": "2026-05-15T10:22:00Z"},
{"role": "assistant", "content": "Certainly! Here's...", "created_at": "2026-05-15T10:22:05Z"}
]
}
Permissions
| Capability | Access |
|---|---|
joomlaai.chat_history / wpai_view_chat_history | View own sessions |
core.admin / manage_options | View all users' sessions |
core.delete / manage_options | Delete sessions |
_Last updated: 2026-05-19 · v2.5.3_
