Skip to content

Interface: OpenSpeechSessionRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / OpenSpeechSessionRequest

Defined in: src/types/speech.ts:124

Body of POST /api/v1/speech/session — open a speech-to-speech session.

optional contextTermIds?: string[]

Defined in: src/types/speech.ts:132

Up to eight selected record UUIDs.


optional conversationId?: string | null

Defined in: src/types/speech.ts:136

Continue an existing conversation instead of starting one. Optional.


optional currentSortContext?: string | null

Defined in: src/types/speech.ts:130

Selected sort hint, subject to the same scope as text conversations.


optional engine?: string | null

Defined in: src/types/speech.ts:138

"cascade" (default) or "moshi". Optional.


optional generateCertificate?: boolean

Defined in: src/types/speech.ts:134

Request the text pipeline’s cryptographic validity certificate.


optional language?: string | null

Defined in: src/types/speech.ts:140

Language hint for recognition. Optional.


optional protocolVersion?: 2 | 1

Defined in: src/types/speech.ts:128

1: buffered WAV (legacy); 2: framed streaming PCM.


optional resumeSessionId?: string

Defined in: src/types/speech.ts:126

Refresh/reconnect a bound session. Requires protocolVersion 2 and no setting overrides.


optional voiceId?: string | null

Defined in: src/types/speech.ts:142

Cloned voice to answer in (this tenant’s registry). Optional.