Interface: LiveRecordingView
@kortexya/reasoninglayer / LiveRecordingView
Interface: LiveRecordingView
Section titled “Interface: 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}.
Remarks
Section titled “Remarks”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).
Properties
Section titled “Properties”audioFileId?
Section titled “audioFileId?”
optionalaudioFileId?: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
Section titled “durationSecs”durationSecs:
number
Defined in: src/types/ingestion.ts:2892
The audio held, in seconds.
error?
Section titled “error?”
optionalerror?:string
Defined in: src/types/ingestion.ts:2912
Why finalizing failed. Absent unless state is failed.
finals
Section titled “finals”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.
Remarks
Section titled “Remarks”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).
result?
Section titled “result?”
optionalresult?: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.