circle-exclamation
Documentation in progress. New content is added regularly.

Inside a Session

Explore the full transcript, execution trace, and variables behind any conversation

Each conversation with an agent produces a detailed record of what happened and why. Open a session in Observatory > Session > Chat Sessions and trace the full path of a conversation: what the user said, what the agent did in response, and every workflow operation that happened in between.

This is how you find out why your agent behaved the way it did, whether you are investigating a problem or reviewing a conversation that went well. Additionally, use the Session Analysis plugin to gain unique insights for each conversation through LLM-powered summaries, sentiment scores, and customizable evaluation criteria.

What Gets Captured

Each session records everything that happened during a conversation, from the messages exchanged to the internal operations your workflow performed behind the scenes.

  • Transcript: Every message between the user and the agent, whether text, voice, or a combination, or system events like LiveChat handoffs and CSAT submissions

  • Interaction log: The full execution trace for each user message, step by step: LLM calls, HTTP requests, semantic searches, variable assignments, and tag operations

  • Variables: A snapshot of all workflow variables at the end of the session, plus intermediate snapshots at each user message so you can track how values changed over time

  • Session metadata: Context about when and where the conversation took place, who initiated it, and how it was categorized

  • Tickets: References to support tickets created in external systems like Zendesk during the conversation

  • Analysis insights: Summary, sentiment, resolution status, urgency, and classification tags generated by Session Analysis

This means you can answer questions like "what prompt did the LLM receive?", "which variable had the wrong value?", or "how did the user feel about the interaction?" all from a single session.

Session Details

Click any session in the Chat Session dashboard to open the detail panel. The panel splits into two areas: the conversation transcript on the left and a sidebar with metadata, variables, and linked tickets on the right.

The Conversation Transcript

The transcript displays the full conversation with user messages on the left and agent messages on the right. This is the opposite of a typical chat interface, where the current user's messages appear on the right. Here, the perspective is reversed because you are reviewing someone else's conversation.

Each message is labeled as Bot or User with a timestamp. User messages appear on the left, agent responses on the right.

The full conversation is preserved here, so you can read through every message exchanged between the user and the agent.

Select any user message in the transcript to reveal the interaction log behind it. Each step shows the type of operation, its duration, and whether it succeeded or failed. See the interaction log for a full breakdown

System events like Conversation starts, CSAT submissions and user LiveChat handoffs appear inline as separators.

The sidebar provides up to five tabs with context about the session. Not all tabs are visible for every session. Tabs that have no data, like CSAT for conversations without a survey or Contact for automated test sessions, are hidden.

Shows the session ID, tags, total messages, and other metadata about the conversation. The session ID is useful when referencing a specific conversation in support requests or when using the API. Use the Tags field to manually add new tags to the session.

This is also where you run and view Session Analysis. Click Run to generate insights, or review existing results if analysis has already been triggered automatically or from a previous run.

The Interaction Log

When your agent receives a user message, the workflow executes a series of steps to produce a response. A step is a single atomic operation the workflow performed, like calling an LLM or assigning a variable. The interaction log captures this full sequence so you can see exactly what happened and in what order.

Open the interaction log by selecting a user message in the transcript, not the agent response. Each user message is the trigger that starts a workflow execution, so the trace is tied to the input, not the output. The first agent message in the conversation is an exception and you can click it directly since it runs before any user input.

layer-group

Type

The kind of operation: LLM, HTTP, Semantic Search, Variable, or Tag. Filter by type to isolate specific steps

clock

Timestamp & Duration

When the step executed and how long it took to complete. Use duration to identify slow operations in your workflow

triangle-exclamation

Errors

Whether the step failed. Filter by errors to jump directly to problematic operations without scanning the full trace

code

JSON Payload

Expand any step to see the raw request and response data. For LLM steps this includes the model, prompt, hyperparameters and conversation history

Hover over any JSON block to reveal the copy button. Grab the payload for further inspection or testing outside the platform

brackets-curly

Variable Values

Switch to the Variable Values tab to see the state of all workflow variables at this point in the conversation, not just their final values

This is what makes session debugging concrete instead of speculative. Instead of guessing why your agent said something, you can trace the exact sequence of operations and see the raw data behind each one.

chevron-rightExample: LLM JSON Payloadhashtag

The interaction log panel also includes a Variable Values tab. This shows a snapshot of all workflow variables at the moment of that specific user message. Unlike the Variables tab in the sidebar (which shows final values), this captures intermediate state. Use it to verify that variables were assigned in the correct order with the expected values.

Session Analysis

Session Analysis is a powerful tool that turns individual conversations into structured, trackable data. It uses an LLM to generate insights from a completed session: a summary, sentiment score, resolution status, urgency level, and classification tags.

Open a session and navigate to the Session Details tab. Select Run to trigger it. After the first execution, the button changes to Rerun, letting you regenerate insights after updating your plugin configuration. To run analysis automatically on new sessions, enable and configure the Session Analysis plugin.

chevron-rightDefault Insightshashtag
  • Summary: A concise description of the conversation

  • Classification Tags: Category labels that match your defined tags, automatically added to the session

  • Sentiment: User satisfaction (Positive, Neutral, or Negative)

  • Resolution: Whether the issue was addressed (Resolved, Unclear, or Unresolved)

  • Urgency: Priority level (Low, Normal, or Urgent)

Toggle Expert Mode in the plugin settings to customize which insights are generated or chain multiple LLM executions for advanced analysis workflows.

circle-info

Session Analysis is powered by a plugin that needs to be activated and configured first. See the Plugins page for setup instructions and advanced configuration options.

Best Practices

  • Start from the problematic message: Open the interaction log on the specific user message that triggered unexpected behavior. The execution trace tells you more than the response text alone

  • Check variable state at each step: Use the Variable Values tab to verify that variables had the expected values at the point where things went wrong, not just their final state

  • Filter by errors first: When a session has dozens of steps, filter by errors to jump directly to the failure without scanning the full trace

  • Use duration to find bottlenecks: Sort steps by duration to identify slow LLM calls, HTTP timeouts, or inefficient operations in your workflow

  • Copy payloads for testing: Grab the raw JSON from an LLM step and test it outside the platform to reproduce and isolate issues

  • Use Session Analysis for trends: Run analysis across sessions to track sentiment and resolution patterns over time. Use Expert Mode to define custom insight categories that match your business needs

circle-check

Last updated

Was this helpful?