fact_ai_conversations
Each row is one conversation handled by an AI agent inside a conversation flow: which agent (and which version) handled it, how it was resolved, what sentiment the user showed, how many messages were exchanged, and how many tokens it consumed.What questions does it answer?
- How many conversations did each AI agent handle, and how many did it resolve?
- How does user sentiment change across agents or across versions of an agent?
- How many tokens does each agent consume, in total and per conversation?
- How long does the agent take to respond?
- What happened in the rest of the flow before and after the AI? (join
fact_treble_sessionsonsession_id)
Columns
Counts and tokens are
NULL when the conversation didn’t record them — for example, conversations from before Treble started measuring tokens. NULL never means zero: sum() and avg() already ignore NULLs, and countIf(total_tokens IS NOT NULL) tells you how many conversations have a measurement.