Share via


SessionContext interface

Context information provided to session-related handlers

Extends

Properties

conversationId

The current conversation ID (if available)

sessionId

The session ID (guaranteed to be available for session events)

Inherited Properties

agentName

The agent name being used for this session (undefined for model sessions)

endpoint

The session endpoint URL

model

The model being used for this session (undefined for agent sessions)

timestamp

When the event occurred

Property Details

conversationId

The current conversation ID (if available)

conversationId?: string

Property Value

string

sessionId

The session ID (guaranteed to be available for session events)

sessionId: string

Property Value

string

Inherited Property Details

agentName

The agent name being used for this session (undefined for model sessions)

agentName?: string

Property Value

string

Inherited From ConnectionContext.agentName

endpoint

The session endpoint URL

endpoint: string

Property Value

string

Inherited From ConnectionContext.endpoint

model

The model being used for this session (undefined for agent sessions)

model?: string

Property Value

string

Inherited From ConnectionContext.model

timestamp

When the event occurred

timestamp: Date

Property Value

Date

Inherited From ConnectionContext.timestamp