Share via


ConnectionContext interface

Context information provided to connection-related handlers

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)

sessionId

The session ID (if available)

timestamp

When the event occurred

Property Details

agentName

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

agentName?: string

Property Value

string

endpoint

The session endpoint URL

endpoint: string

Property Value

string

model

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

model?: string

Property Value

string

sessionId

The session ID (if available)

sessionId?: string

Property Value

string

timestamp

When the event occurred

timestamp: Date

Property Value

Date