Skip to content

Interface: LiveRecordingView

@kortexya/reasoninglayer


@kortexya/reasoninglayer / LiveRecordingView

Defined in: src/types/ingestion.ts:2884

A recording the live caption socket keeps (/ws/audio/stream?protocol_version=2&recording=<id>), as its owner reads it — GET /api/v1/audio/recordings/{id}.

Only the user who started it may read it. A ready or failed recording expires after the engine’s parse-only retention (a day by default).

optional audioFileId?: string

Defined in: src/types/ingestion.ts:2910

The retained original (GET /api/v1/sources/files/{id}/content), once finalizing retained it. Absent before.


bytes: number

Defined in: src/types/ingestion.ts:2890

The audio bytes the engine holds (PCM Int16LE, 16 kHz, mono).


durationSecs: number

Defined in: src/types/ingestion.ts:2892

The audio held, in seconds.


optional error?: string

Defined in: src/types/ingestion.ts:2912

Why finalizing failed. Absent unless state is failed.


finals: Record<string, unknown>[]

Defined in: src/types/ingestion.ts:2905

The finals the live stream forwarded, with start and end on the recording’s clock. Each names its speech session (session_seq, from 1, one per socket): an utterance is (session_seq, utterance_id), and continues_utterance names an utterance of the same session, and continues_root the first of its chain. seq numbers the kept readings in the recording, from 1.

Each final is passed through as the engine sent it: its keys stay snake_case.


id: string

Defined in: src/types/ingestion.ts:2886

Live recording id, chosen by the client (UUID).


optional result?: IngestAudioResponse

Defined in: src/types/ingestion.ts:2914

The parse-only audio result, as a finished audio job answers it. Absent until ready.


state: RecordingState

Defined in: src/types/ingestion.ts:2888

Where the recording stands.