Top sessions drill-down
The dashboard’s Top sessions (24h) table shows the 5 most expensive sessions in the last 24 hours, sorted by total token cost.
For each session you see:
- Session id (links to the transcript)
- Turn count
- Token count
- USD cost
- Last activity timestamp
Click a session id to open /api/sessions/{id}/transcript — the full conversation including visitor messages, bot replies, and any agent messages (when the session was human-handed-off). Each turn shows the role, content, timestamp, and (for agent messages) the agent oid.
This is the most direct tool for “why did one session cost more than the others?” — usually one of:
- A long context window (visitor’s history was large)
- Many turns in a single session
- Token-heavy responses (e.g., bot quoted documentation)