Interface: RealtimeResult
Defined in: packages/aiui-claude-channel/src/realtime.ts:89
One realtime transcript result (mirrors ./transcribe.TranscriptResult).
Properties
cost?
optionalcost?:CallCost
Defined in: packages/aiui-claude-channel/src/realtime.ts:99
The segment's cost, when the upstream …completed carried usage. May arrive with usd absent — the realtime STT models can be newer than the price catalog — in which case the usage is still accounted in the trace.
latencyMs
latencyMs:
number
Defined in: packages/aiui-claude-channel/src/realtime.ts:92
Wall-clock from the segment's commit (talk-end) to its …completed.
model
model:
string
Defined in: packages/aiui-claude-channel/src/realtime.ts:93
text
text:
string
Defined in: packages/aiui-claude-channel/src/realtime.ts:90
words?
optionalwords?:TranscriptWord[]
Defined in: packages/aiui-claude-channel/src/realtime.ts:106
Per-word timings + confidence, when the vendor emits them (ElevenLabs Scribe with include_timestamps). Absent on transports that only return a flat transcript (the OpenAI realtime path). Segment-relative — see TranscriptWord.