bodhi-realtime-agent / SessionReport
Interface: SessionReport
Defined in: types/history.ts:42
A full session report including conversation items and pending tool state.
Extends
Properties
analytics?
optionalanalytics:SessionAnalytics
Defined in: types/history.ts:26
Aggregated session statistics.
Inherited from
disconnectReason?
optionaldisconnectReason:"transfer"|"error"|"user_hangup"|"timeout"|"go_away"
Defined in: types/history.ts:22
Inherited from
SessionRecord.disconnectReason
durationMs?
optionaldurationMs:number
Defined in: types/history.ts:21
Total session duration in milliseconds.
Inherited from
endedAt?
optionalendedAt:number
Defined in: types/history.ts:19
Unix timestamp (ms) when the session ended.
Inherited from
finalAgentName?
optionalfinalAgentName:string
Defined in: types/history.ts:14
Agent that was active when the session ended.
Inherited from
id
id:
string
Defined in: types/history.ts:9
Unique session identifier.
Inherited from
initialAgentName
initialAgentName:
string
Defined in: types/history.ts:12
Agent that was active when the session started.
Inherited from
SessionRecord.initialAgentName
items
items:
ConversationItem[]
Defined in: types/history.ts:44
Complete conversation timeline.
metadata?
optionalmetadata:Record<string,unknown>
Defined in: types/history.ts:28
Application-specific metadata.
Inherited from
pendingToolCalls
pendingToolCalls:
PendingToolCall[]
Defined in: types/history.ts:46
Tool calls that were still running when the session ended.
startedAt
startedAt:
number
Defined in: types/history.ts:17
Unix timestamp (ms) when the session started.
Inherited from
status
status:
"error"|"active"|"ended"
Defined in: types/history.ts:15
Inherited from
transcript?
optionaltranscript:string
Defined in: types/history.ts:24
Full text transcript of the session (optional).
Inherited from
userId
userId:
string
Defined in: types/history.ts:10