AI history
When sendAI runs with saveHistory: true (the default), turns are stored server-side. Use fetchAIHistory to list them and deleteAIHistoryMessage to remove individual entries.
Methods
fetchAIHistory({ senderId })
List AI conversation history for a user
deleteAIHistoryMessage({ senderId, messageId })
Delete one stored message
Typical uses
Support inbox UI
fetchAIHistory on ticket open
GDPR / privacy
deleteAIHistoryMessage on user request
Debug
Compare history with sessionId sessions
Audit
Cross-check with session logging dashboard
saveHistory flag
// Stored (default)
await notifier.sendAI({ senderId, message, saveHistory: true });
// Ephemeral β routing, classification, workflow internals
await notifier.sendAI({ senderId, message, saveHistory: false });β How-to guide: How to save AI message history Β· Observability overview
Language guides
JavaScript / TypeScript
Dart / Flutter
AI history vs chat history
AI history
sendAI turns (fetchAIHistory)
Chat history
Realtime 1:1 messages between users β see Chat history
Next steps
Sessions β Continue conversations with
sessionIdSession logging β Operational dashboard logs
Last updated