Skip to main content

What is a Session?

A session groups related traces together. When your AI system processes a user conversation or runs a multi-step workflow, all the traces from that interaction share the same session ID. Sessions give reviewers the full context they need. Instead of seeing isolated traces, they see the complete interaction.

Why Sessions Matter

Without SessionsWith Sessions
See individual messagesSee entire conversation
Missing contextFull context for decisions
Hard to understand intentClear picture of user needs

How Sessions Work

Sessions are created automatically by Velatir integrations. When you use the browser extension, n8n node, LangChain middleware, or SDKs, traces are automatically grouped into sessions based on the interaction context. For example:
  • A chatbot conversation creates a session with all messages
  • An n8n workflow creates a session for all steps in that run
  • A LangChain agent creates a session for the entire agent execution

Session Status

Sessions have a status based on their traces:
StatusDescription
ActiveRecent activity in the session
Awaiting ActionHas traces with pending review tasks
InactiveNo recent activity

Viewing Sessions

In the Velatir dashboard:
  1. Go to Sessions to see all sessions
  2. Each session shows:
    • Number of traces
    • First and last trace timestamps
    • Current status
    • Sources involved
  3. Click a session to see all its traces in order

Session Metadata

Each session displays:
FieldDescription
Trace CountNumber of traces in the session
First TraceWhen the session started
Last TraceMost recent activity
StatusActive, Awaiting Action, or Inactive
SourcesSystems that contributed traces

Best Practices

Group Logically

A session should represent one logical interaction:
  • One user conversation
  • One workflow execution
  • One batch processing run

Review in Context

When reviewing a trace, always check the session view to understand the full context of the interaction.