Skip to content

bodhi-realtime-agent / SessionReport

Interface: SessionReport ​

Defined in: src/types/history.ts:40

A full session report including conversation items and pending tool state.

Extends ​

Properties ​

analytics? ​

optional analytics?: SessionAnalytics

Defined in: src/types/history.ts:24

Aggregated session statistics.

Inherited from ​

SessionRecord.analytics


disconnectReason? ​

optional disconnectReason?: "transfer" | "error" | "user_hangup" | "timeout" | "go_away"

Defined in: src/types/history.ts:20

Inherited from ​

SessionRecord.disconnectReason


durationMs? ​

optional durationMs?: number

Defined in: src/types/history.ts:19

Total session duration in milliseconds.

Inherited from ​

SessionRecord.durationMs


endedAt? ​

optional endedAt?: number

Defined in: src/types/history.ts:17

Unix timestamp (ms) when the session ended.

Inherited from ​

SessionRecord.endedAt


finalAgentName? ​

optional finalAgentName?: string

Defined in: src/types/history.ts:12

Agent that was active when the session ended.

Inherited from ​

SessionRecord.finalAgentName


id ​

id: string

Defined in: src/types/history.ts:7

Unique session identifier.

Inherited from ​

SessionRecord.id


initialAgentName ​

initialAgentName: string

Defined in: src/types/history.ts:10

Agent that was active when the session started.

Inherited from ​

SessionRecord.initialAgentName


items ​

items: ConversationItem[]

Defined in: src/types/history.ts:42

Complete conversation timeline.


metadata? ​

optional metadata?: Record<string, unknown>

Defined in: src/types/history.ts:26

Application-specific metadata.

Inherited from ​

SessionRecord.metadata


pendingToolCalls ​

pendingToolCalls: PendingToolCall[]

Defined in: src/types/history.ts:44

Tool calls that were still running when the session ended.


startedAt ​

startedAt: number

Defined in: src/types/history.ts:15

Unix timestamp (ms) when the session started.

Inherited from ​

SessionRecord.startedAt


status ​

status: "error" | "active" | "ended"

Defined in: src/types/history.ts:13

Inherited from ​

SessionRecord.status


transcript? ​

optional transcript?: string

Defined in: src/types/history.ts:22

Full text transcript of the session (optional).

Inherited from ​

SessionRecord.transcript


userId ​

userId: string

Defined in: src/types/history.ts:8

Inherited from ​

SessionRecord.userId

Built with VitePress