LangChain Reference home page
Search...
⌘K
Ask AI
GitHub
Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
⌘I
Chat LangChain
What can I help with?
Enter
to send
·
Shift+Enter
new line
What are deep agents and how do I get started?
How do I build a React app around a Deep Agent?
How do I stream subagent output to my frontend with useStream?
Menu
Navigation
Projects
LangSmith Go
Overview
Client
Datasets
Examples
Runs
Sessions
Feedback
Repos (Prompts)
Annotation Queues
Tracing & OpenTelemetry
Language
Python
JavaScript
Theme
Light
Dark
Go
langsmith
Session
Class
v0.0.0 (latest)
●
Since v0.31
Session
TracerSession schema.
Copy
type
Session
struct
Properties
property
ID
:
string
property
Name
:
string
property
StartTime
:
time
.
Time
property
TenantID
:
string
property
Type
:
SessionType
property
CompletionCost
:
float64
property
CompletionTokens
:
int64
property
DefaultDatasetID
:
string
property
Description
:
string
property
EndTime
:
time
.
Time
property
ErrorRate
:
float64
property
ExperimentProgress
:
SessionExperimentProgress
property
Extra
:
map
[
string
]
interface
{}
property
FeedbackStats
:
map
[
string
]
SessionFeedbackStat
property
FirstTokenP50
:
float64
property
FirstTokenP99
:
float64
property
LastRunStartTime
:
time
.
Time
property
LastRunStartTimeLive
:
time
.
Time
property
LatencyP50
:
float64
property
LatencyP99
:
float64
property
LonglivedTtlDays
:
int64
property
PromptCost
:
float64
property
PromptTokens
:
int64
property
ReferenceDatasetID
:
string
property
RunCount
:
int64
property
RunFacets
:
[]
map
[
string
]
interface
{}
property
SessionFeedbackStats
:
map
[
string
]
SessionFeedbackStat
property
StreamingRate
:
float64
property
TestRunNumber
:
int64
property
TotalCost
:
float64
property
TotalTokens
:
int64
property
TraceTier
:
SessionTraceTier
property
JSON
:
sessionJSON
Methods
method
UnmarshalJSON
View source on GitHub
Version History