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
ThreadAggregateStatsResponse
Class
v0.0.0 (latest)
●
Since v0.26
ThreadAggregateStatsResponse
Copy
type
ThreadAggregateStatsResponse
struct
Properties
property
CompletionCost
:
float64
property
CompletionCostDetails
:
map
[
string
]
float64
property
CompletionTokenDetails
:
map
[
string
]
int64
property
CompletionTokens
:
int64
property
ErrorRate
:
float64
property
FirstTokenP50Seconds
:
float64
property
FirstTokenP99Seconds
:
float64
property
LatencyP50Seconds
:
float64
property
LatencyP99Seconds
:
float64
property
MedianTokens
:
int64
property
PromptCost
:
float64
property
PromptCostDetails
:
map
[
string
]
float64
property
PromptTokenDetails
:
map
[
string
]
int64
property
PromptTokens
:
int64
property
StreamingRate
:
float64
property
ThreadCount
:
int64
property
ThreadFeedbackStats
:
map
[
string
]
ThreadAggregateStatsResponseThreadFeedbackStat
property
TotalCost
:
float64
property
TotalTokens
:
int64
property
TraceCount
:
int64
property
JSON
:
threadAggregateStatsResponseJSON
Methods
method
UnmarshalJSON
View source on GitHub
Version History