Interface: OpenSpeechSessionResponse
@kortexya/reasoninglayer / OpenSpeechSessionResponse
Interface: OpenSpeechSessionResponse
Section titled “Interface: OpenSpeechSessionResponse”Defined in: src/types/speech.ts:146
An opened speech session (OpenSpeechSessionResponse on the wire).
Properties
Section titled “Properties”conversationId?
Section titled “conversationId?”
optionalconversationId?:string|null
Defined in: src/types/speech.ts:152
The existing native conversation, once its first turn has been accepted.
engine
Section titled “engine”engine:
string
Defined in: src/types/speech.ts:158
Engine that will serve it.
epoch?
Section titled “epoch?”
optionalepoch?:number|null
Defined in: src/types/speech.ts:154
Session epoch at HTTP open; the socket ready event carries its new epoch.
expiresAt?
Section titled “expiresAt?”
optionalexpiresAt?:string|null
Defined in: src/types/speech.ts:150
Authorization lease expiry; refresh through openSpeechSession before it expires.
fullDuplex
Section titled “fullDuplex”fullDuplex:
boolean
Defined in: src/types/speech.ts:160
Whether the negotiated path keeps capture active during playback.
inputSampleRate
Section titled “inputSampleRate”inputSampleRate:
number
Defined in: src/types/speech.ts:162
Audio the client should SEND: 16-bit LE PCM at this rate, mono.
protocolVersion?
Section titled “protocolVersion?”
optionalprotocolVersion?:2|1
Defined in: src/types/speech.ts:156
Absent on legacy servers; callers must negotiate 2 before reading PCM.
resumeSupported?
Section titled “resumeSupported?”
optionalresumeSupported?:boolean
Defined in: src/types/speech.ts:148
Whether authenticated refresh/reconnect is supported; absent on legacy servers.
sessionId
Section titled “sessionId”sessionId:
string
Defined in: src/types/speech.ts:164
Correlation id for this session (also logged server-side).
wsUrl:
string
Defined in: src/types/speech.ts:166
Path to connect the media WebSocket to, query string included.