[{"data":1,"prerenderedAt":601},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Frealtime\u002Ftranscript-lifecycle":235,"surround-\u002Fdocs\u002Frealtime\u002Ftranscript-lifecycle":598},[4],{"title":5,"path":6,"stem":7,"children":8,"page":18},"Docs","\u002Fdocs","docs",[9,33,68,95,130,161,208],{"title":10,"path":11,"stem":12,"children":13,"page":18,"type":32},"Start","\u002Fdocs\u002Fstart","docs\u002F1.start",[14,20,24,28],{"title":15,"path":16,"stem":17,"new":18,"type":19,"children":-1},"Get started with Lanson Live API","\u002Fdocs\u002Fstart\u002Fquickstart","docs\u002F1.start\u002F2.quickstart",false,"page",{"title":21,"path":22,"stem":23,"new":18,"type":19,"children":-1},"Authentication","\u002Fdocs\u002Fstart\u002Fauthentication","docs\u002F1.start\u002F3.authentication",{"title":25,"path":26,"stem":27,"new":18,"type":19,"children":-1},"Choose an API","\u002Fdocs\u002Fstart\u002Fchoose-an-api","docs\u002F1.start\u002F5.choose-an-api",{"title":29,"path":30,"stem":31,"new":18,"type":19,"children":-1},"Pricing","\u002Fdocs\u002Fstart\u002Fpricing","docs\u002F1.start\u002F6.pricing","group",{"title":34,"path":35,"stem":36,"children":37,"new":18,"type":32},"Realtime","\u002Fdocs\u002Frealtime","docs\u002F2.realtime\u002F1.index",[38,40,44,48,52,56,60,64],{"title":39,"path":35,"stem":36,"new":18,"type":19,"children":-1},"Realtime Overview",{"title":41,"path":42,"stem":43,"new":18,"type":19,"children":-1},"Realtime Quickstart","\u002Fdocs\u002Frealtime\u002Fquickstart","docs\u002F2.realtime\u002F2.quickstart",{"title":45,"path":46,"stem":47,"new":18,"type":19,"children":-1},"Connection Lifecycle","\u002Fdocs\u002Frealtime\u002Fconnection-lifecycle","docs\u002F2.realtime\u002F3.connection-lifecycle",{"title":49,"path":50,"stem":51,"new":18,"type":19,"children":-1},"Audio Input","\u002Fdocs\u002Frealtime\u002Faudio-input","docs\u002F2.realtime\u002F4.audio-input",{"title":53,"path":54,"stem":55,"new":18,"type":19,"children":-1},"Transcript Lifecycle","\u002Fdocs\u002Frealtime\u002Ftranscript-lifecycle","docs\u002F2.realtime\u002F5.transcript-lifecycle",{"title":57,"path":58,"stem":59,"new":18,"type":19,"children":-1},"Realtime Translation","\u002Fdocs\u002Frealtime\u002Frealtime-translation","docs\u002F2.realtime\u002F6.realtime-translation",{"title":61,"path":62,"stem":63,"new":18,"type":19,"children":-1},"Session Configuration","\u002Fdocs\u002Frealtime\u002Fsession-configuration","docs\u002F2.realtime\u002F7.session-configuration",{"title":65,"path":66,"stem":67,"new":18,"type":19,"children":-1},"Handling Interruptions & Silence","\u002Fdocs\u002Frealtime\u002Finterruptions-silence","docs\u002F2.realtime\u002F8.interruptions-silence",{"title":69,"path":70,"stem":71,"children":72,"new":18,"type":32},"Recorded","\u002Fdocs\u002Frecorded","docs\u002F3.recorded\u002F1.index",[73,75,79,83,87,91],{"title":74,"path":70,"stem":71,"new":18,"type":19,"children":-1},"Recorded Overview",{"title":76,"path":77,"stem":78,"new":18,"type":19,"children":-1},"Transcribe Audio","\u002Fdocs\u002Frecorded\u002Ftranscribe-audio","docs\u002F3.recorded\u002F2.transcribe-audio",{"title":80,"path":81,"stem":82,"new":18,"type":19,"children":-1},"Timestamps & Speakers","\u002Fdocs\u002Frecorded\u002Ftimestamps-speakers","docs\u002F3.recorded\u002F3.timestamps-speakers",{"title":84,"path":85,"stem":86,"new":18,"type":19,"children":-1},"Subtitles","\u002Fdocs\u002Frecorded\u002Fsubtitles","docs\u002F3.recorded\u002F4.subtitles",{"title":88,"path":89,"stem":90,"new":18,"type":19,"children":-1},"Recorded Translation","\u002Fdocs\u002Frecorded\u002Ftranslation","docs\u002F3.recorded\u002F5.translation",{"title":92,"path":93,"stem":94,"new":18,"type":19,"children":-1},"Structured Results","\u002Fdocs\u002Frecorded\u002Fstructured-results","docs\u002F3.recorded\u002F6.structured-results",{"title":96,"path":97,"stem":98,"children":99,"new":18,"type":32},"Concepts","\u002Fdocs\u002Fconcepts","docs\u002F4.concepts\u002F1.index",[100,102,106,110,114,118,122,126],{"title":101,"path":97,"stem":98,"new":18,"type":19,"children":-1},"Voice Context Layer",{"title":103,"path":104,"stem":105,"new":18,"type":19,"children":-1},"Stable vs. Partial Text","\u002Fdocs\u002Fconcepts\u002Fstable-vs-partial-text","docs\u002F4.concepts\u002F2.stable-vs-partial-text",{"title":107,"path":108,"stem":109,"new":18,"type":19,"children":-1},"StableStream™","\u002Fdocs\u002Fconcepts\u002Fstablestream","docs\u002F4.concepts\u002F3.stablestream",{"title":111,"path":112,"stem":113,"new":18,"type":19,"children":-1},"Context-Aware Processing","\u002Fdocs\u002Fconcepts\u002Fcontext-aware-processing","docs\u002F4.concepts\u002F4.context-aware-processing",{"title":115,"path":116,"stem":117,"new":18,"type":19,"children":-1},"Understanding Latency","\u002Fdocs\u002Fconcepts\u002Flatency","docs\u002F4.concepts\u002F5.latency",{"title":119,"path":120,"stem":121,"new":18,"type":19,"children":-1},"Live Translation","\u002Fdocs\u002Fconcepts\u002Flive-translation","docs\u002F4.concepts\u002F6.live-translation",{"title":123,"path":124,"stem":125,"new":18,"type":19,"children":-1},"Trinity Engine","\u002Fdocs\u002Fconcepts\u002Ftrinity-engine","docs\u002F4.concepts\u002F7.trinity-engine",{"title":127,"path":128,"stem":129,"new":18,"type":19,"children":-1},"LiveFinal™","\u002Fdocs\u002Fconcepts\u002Flivefinal","docs\u002F4.concepts\u002F8.livefinal",{"title":131,"path":132,"stem":133,"children":134,"new":18,"type":32},"Guides","\u002Fdocs\u002Fguides","docs\u002F5.guides\u002F1.index",[135,137,141,145,149,153,157],{"title":136,"path":132,"stem":133,"new":18,"type":19,"children":-1},"Browser Live Captions",{"title":138,"path":139,"stem":140,"new":18,"type":19,"children":-1},"Server-side Streaming","\u002Fdocs\u002Fguides\u002Fserver-side-streaming","docs\u002F5.guides\u002F2.server-side-streaming",{"title":142,"path":143,"stem":144,"new":18,"type":19,"children":-1},"Build a Stable Caption UI","\u002Fdocs\u002Fguides\u002Fstable-caption-ui","docs\u002F5.guides\u002F3.stable-caption-ui",{"title":146,"path":147,"stem":148,"new":18,"type":19,"children":-1},"Build Live Translation","\u002Fdocs\u002Fguides\u002Flive-translation","docs\u002F5.guides\u002F4.live-translation",{"title":150,"path":151,"stem":152,"new":18,"type":19,"children":-1},"Save a Transcript","\u002Fdocs\u002Fguides\u002Fsave-transcript","docs\u002F5.guides\u002F5.save-transcript",{"title":154,"path":155,"stem":156,"new":18,"type":19,"children":-1},"Reconnect a Live Session","\u002Fdocs\u002Fguides\u002Freconnection","docs\u002F5.guides\u002F6.reconnection",{"title":158,"path":159,"stem":160,"new":18,"type":19,"children":-1},"Client-VAD speech segments","\u002Fdocs\u002Fguides\u002Fclient-vad-segments","docs\u002F5.guides\u002F7.client-vad-segments",{"title":162,"path":163,"stem":164,"children":165,"new":18,"type":32},"API Reference","\u002Fdocs\u002Fapi-reference","docs\u002F6.api-reference\u002F1.index",[166,168,172,176,180,184,188,192,196,200,204],{"title":167,"path":163,"stem":164,"new":18,"type":19,"children":-1},"API Reference Overview",{"title":169,"path":170,"stem":171,"new":18,"type":19,"children":-1},"Realtime API","\u002Fdocs\u002Fapi-reference\u002Frealtime-api","docs\u002F6.api-reference\u002F2.realtime-api",{"title":173,"path":174,"stem":175,"new":18,"type":19,"children":-1},"Client Messages","\u002Fdocs\u002Fapi-reference\u002Fclient-messages","docs\u002F6.api-reference\u002F3.client-messages",{"title":177,"path":178,"stem":179,"new":18,"type":19,"children":-1},"Server Events","\u002Fdocs\u002Fapi-reference\u002Fserver-events","docs\u002F6.api-reference\u002F4.server-events",{"title":181,"path":182,"stem":183,"new":18,"type":19,"children":-1},"Segment Transcription API","\u002Fdocs\u002Fapi-reference\u002Fsegment-transcription","docs\u002F6.api-reference\u002F5.segment-transcription",{"title":185,"path":186,"stem":187,"new":18,"type":19,"children":-1},"Batch Transcription Jobs","\u002Fdocs\u002Fapi-reference\u002Fbatch-jobs","docs\u002F6.api-reference\u002F6.batch-jobs",{"title":189,"path":190,"stem":191,"new":18,"type":19,"children":-1},"Languages & Models","\u002Fdocs\u002Fapi-reference\u002Flanguages","docs\u002F6.api-reference\u002F7.languages",{"title":193,"path":194,"stem":195,"new":18,"type":19,"children":-1},"Errors","\u002Fdocs\u002Fapi-reference\u002Ferrors","docs\u002F6.api-reference\u002F8.errors",{"title":197,"path":198,"stem":199,"new":18,"type":19,"children":-1},"Rate Limits","\u002Fdocs\u002Fapi-reference\u002Frate-limits","docs\u002F6.api-reference\u002F9.rate-limits",{"title":201,"path":202,"stem":203,"new":18,"type":19,"children":-1},"Admin API","\u002Fdocs\u002Fapi-reference\u002Fadmin","docs\u002F6.api-reference\u002F10.admin",{"title":205,"path":206,"stem":207,"new":18,"type":19,"children":-1},"Language Detection","\u002Fdocs\u002Fapi-reference\u002Flanguage-detection","docs\u002F6.api-reference\u002F11.language-detection",{"title":209,"path":210,"stem":211,"children":212,"new":18,"type":32},"Production","\u002Fdocs\u002Fproduction","docs\u002F7.production\u002F1.index",[213,215,219,223,227,231],{"title":214,"path":210,"stem":211,"new":18,"type":19,"children":-1},"Production Checklist",{"title":216,"path":217,"stem":218,"new":18,"type":19,"children":-1},"Reconnection & Retries","\u002Fdocs\u002Fproduction\u002Freconnection-retries","docs\u002F7.production\u002F2.reconnection-retries",{"title":220,"path":221,"stem":222,"new":18,"type":19,"children":-1},"Latency Best Practices","\u002Fdocs\u002Fproduction\u002Flatency-best-practices","docs\u002F7.production\u002F3.latency-best-practices",{"title":224,"path":225,"stem":226,"new":18,"type":19,"children":-1},"Security & Privacy","\u002Fdocs\u002Fproduction\u002Fsecurity-privacy","docs\u002F7.production\u002F4.security-privacy",{"title":228,"path":229,"stem":230,"new":18,"type":19,"children":-1},"Data Retention","\u002Fdocs\u002Fproduction\u002Fdata-retention","docs\u002F7.production\u002F5.data-retention",{"title":232,"path":233,"stem":234,"new":18,"type":19,"children":-1},"Changelog","\u002Fdocs\u002Fproduction\u002Fchangelog","docs\u002F7.production\u002F6.changelog",{"id":236,"title":53,"body":237,"description":589,"extension":590,"links":591,"meta":592,"navigation":594,"new":18,"path":54,"rawbody":595,"seo":596,"stem":55,"technology":591,"__hash__":597},"content\u002Fdocs\u002F2.realtime\u002F5.transcript-lifecycle.md",{"type":238,"value":239,"toc":574},"minimark",[240,260,265,275,278,282,286,289,315,318,321,338,342,349,384,410,414,444,462,472,474,480,491,495,506,510,513,539,542,548,552],[241,242,243,244,248,249,253,254,256,257,259],"p",{},"This page describes the ",[245,246,247],"strong",{},"Lanson Live API"," public Realtime endpoint, ",[250,251,252],"code",{},"WS \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fstream",". ",[245,255,127],{}," names the correction\u002Ffinalization mechanism; ",[245,258,107],{}," names the stable, readable output behavior. Neither name is an event type.",[261,262,264],"h2",{"id":263},"state-flow","State flow",[266,267,273],"pre",{"className":268,"code":270,"language":271,"meta":272},[269],"language-text","speech_started → speech_stopped → recognition → optional refinement → completed\n                                                                  → optional translation\n","text","",[250,274,270],{"__ignoreMap":272},[241,276,277],{},"Recognition and refinement are server processing stages. The current endpoint exposes a single completed transcript per successfully processed utterance, not partial → revision → final events.",[261,279,281],{"id":280},"event-semantics","Event semantics",[283,284,285],"h3",{"id":285},"speech_started",[241,287,288],{},"VAD detected the start of a speech segment.",[290,291,292,299,305],"ul",{},[293,294,295,298],"li",{},[245,296,297],{},"At this point",": no transcribed text yet",[293,300,301,304],{},[245,302,303],{},"Client action",": optionally show a \"listening\" indicator",[293,306,307,310,311,314],{},[245,308,309],{},"Mutable",": no, ",[250,312,313],{},"utterance_index"," is fixed",[283,316,317],{"id":317},"speech_stopped",[241,319,320],{},"VAD detected the end of a speech segment (silence or a segmentation boundary).",[290,322,323,328,333],{},[293,324,325,327],{},[245,326,297],{},": recognition begins; optional refinement follows before delivery",[293,329,330,332],{},[245,331,303],{},": optionally show \"processing\" state",[293,334,335,337],{},[245,336,309],{},": no",[283,339,341],{"id":340},"conversationiteminput_audio_transcriptioncompleted","conversation.item.input_audio_transcription.completed",[241,343,344,345,348],{},"A speech segment has been transcribed. This is the ",[245,346,347],{},"primary output",".",[290,350,351,359,369,374],{},[293,352,353,355,356,358],{},[245,354,297],{},": ",[250,357,271],{}," is stable and will not change",[293,360,361,363,364,366,367],{},[245,362,303],{},": display or persist ",[250,365,271],{},", ordered by ",[250,368,313],{},[293,370,371,373],{},[245,372,309],{},": no, text is final",[293,375,376,379,380,383],{},[245,377,378],{},"Can trigger downstream",": check ",[250,381,382],{},"transcript.safe_for_downstream"," and your application's accuracy requirements",[385,386,389,394,403],"callout",{"color":387,"icon":388},"primary","i-lucide-info",[241,390,391],{},[245,392,393],{},"When is text stable?",[241,395,396,397,399,400,402],{},"The ",[250,398,271],{}," in a ",[250,401,341],{}," event is final. Once received, it will never be modified for that utterance.",[241,404,405,406,409],{},"This is a delivery guarantee, not an accuracy guarantee. Auto-detected language may still be provisional; empty text or a language-detection error makes ",[250,407,408],{},"safe_for_downstream"," false.",[261,411,413],{"id":412},"correction-and-translation","Correction and translation",[241,415,416,417,420,421,424,425,428,429,432,433,436,437,439,440,443],{},"Enable ",[250,418,419],{},"refinement"," before audio when the gateway reports correction availability. It is off by default; the default ",[250,422,423],{},"lite"," profile is included in the base transcription price, and ",[250,426,427],{},"pro"," is billed as the realtime refinement add-on. Correction runs before ",[250,430,431],{},"completed","; ",[250,434,435],{},"raw_text"," preserves recognition output, ",[250,438,271],{}," is the delivered result, and ",[250,441,442],{},"transcript.correction_applied"," reports whether correction changed it. If correction fails, the service falls back to the raw output.",[241,445,446,449,450,453,454,457,458,461],{},[250,447,448],{},"transcript.state"," is currently ",[250,451,452],{},"stable"," and ",[250,455,456],{},"transcript.revision"," is ",[250,459,460],{},"0",". The public endpoint does not send a separate correction event, later transcript revisions, or a session-wide final event.",[241,463,464,465,468,469,471],{},"When translation is enabled, ",[250,466,467],{},"live.translation.completed"," arrives independently for each target language. It uses raw source text and associates the result by ",[250,470,313],{},". A missing translation should not block rendering the source text.",[261,473,313],{"id":313},[241,475,476,477,479],{},"Each speech segment has a unique, incrementing ",[250,478,313],{},". Use it to:",[290,481,482,485,488],{},[293,483,484],{},"Order transcribed results",[293,486,487],{},"Detect missing events (index gaps)",[293,489,490],{},"Merge into a complete transcript",[261,492,494],{"id":493},"concurrent-utterances","Concurrent utterances",[241,496,497,498,501,502,505],{},"The upstream may process multiple speech segments simultaneously. ",[250,499,500],{},"limits.max_concurrent_utterances"," limits concurrency. When exceeded, frames are dropped and ",[250,503,504],{},"lanson.throttled"," is sent.",[261,507,509],{"id":508},"no-partial-text","No partial text",[241,511,512],{},"In the current version:",[290,514,515,524,533],{},[293,516,517,520,521],{},[245,518,519],{},"No partial transcription is pushed",": no intermediate text before ",[250,522,523],{},"transcription.completed",[293,525,526,529,530,532],{},[245,527,528],{},"One result per utterance",": each utterance produces one ",[250,531,431],{}," event",[293,534,535,538],{},[245,536,537],{},"Text is immediately stable",": no partial → final transition needed on the client",[241,540,541],{},"This means clients do not need a partial-text replacement protocol on this endpoint. They still need to order concurrent results, handle language uncertainty and errors, and avoid layout shifts in their UI.",[241,543,544,545,348],{},"Persist completed results as they arrive. Do not infer that a flush message or socket close will produce a full-session final transcript; see ",[546,547,173],"a",{"href":174},[261,549,551],{"id":550},"related","Related",[290,553,554,559,564,569],{},[293,555,556,558],{},[546,557,107],{"href":108}," — readable output behavior",[293,560,561,563],{},[546,562,127],{"href":128}," — correction and finalization",[293,565,566,568],{},[546,567,142],{"href":143}," — UI implementation",[293,570,571,573],{},[546,572,177],{"href":178}," — event field reference",{"title":272,"searchDepth":575,"depth":575,"links":576},2,[577,578,584,585,586,587,588],{"id":263,"depth":575,"text":264},{"id":280,"depth":575,"text":281,"children":579},[580,582,583],{"id":285,"depth":581,"text":285},3,{"id":317,"depth":581,"text":317},{"id":340,"depth":581,"text":341},{"id":412,"depth":575,"text":413},{"id":313,"depth":575,"text":313},{"id":493,"depth":575,"text":494},{"id":508,"depth":575,"text":509},{"id":550,"depth":575,"text":551},"StableStream™ output and LiveFinal™ processing in the public Realtime API.","md",null,{"updated":593},"2026-11-08",true,"---\ntitle: Transcript Lifecycle\ndescription: StableStream™ output and LiveFinal™ processing in the public Realtime API.\nupdated: 2026-11-08\n---\nThis page describes the **Lanson Live API** public Realtime endpoint, `WS \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fstream`. **LiveFinal™** names the correction\u002Ffinalization mechanism; **StableStream™** names the stable, readable output behavior. Neither name is an event type.\n\n## State flow\n\n```text\nspeech_started → speech_stopped → recognition → optional refinement → completed\n                                                                  → optional translation\n```\n\nRecognition and refinement are server processing stages. The current endpoint exposes a single completed transcript per successfully processed utterance, not partial → revision → final events.\n\n## Event semantics\n\n### speech_started\n\nVAD detected the start of a speech segment.\n\n- **At this point**: no transcribed text yet\n- **Client action**: optionally show a \"listening\" indicator\n- **Mutable**: no, `utterance_index` is fixed\n\n### speech_stopped\n\nVAD detected the end of a speech segment (silence or a segmentation boundary).\n\n- **At this point**: recognition begins; optional refinement follows before delivery\n- **Client action**: optionally show \"processing\" state\n- **Mutable**: no\n\n### conversation.item.input_audio_transcription.completed\n\nA speech segment has been transcribed. This is the **primary output**.\n\n- **At this point**: `text` is stable and will not change\n- **Client action**: display or persist `text`, ordered by `utterance_index`\n- **Mutable**: no, text is final\n- **Can trigger downstream**: check `transcript.safe_for_downstream` and your application's accuracy requirements\n\n::callout{icon=\"i-lucide-info\" color=\"primary\"}\n**When is text stable?**\n\nThe `text` in a `conversation.item.input_audio_transcription.completed` event is final. Once received, it will never be modified for that utterance.\n\nThis is a delivery guarantee, not an accuracy guarantee. Auto-detected language may still be provisional; empty text or a language-detection error makes `safe_for_downstream` false.\n::\n\n## Correction and translation\n\nEnable `refinement` before audio when the gateway reports correction availability. It is off by default; the default `lite` profile is included in the base transcription price, and `pro` is billed as the realtime refinement add-on. Correction runs before `completed`; `raw_text` preserves recognition output, `text` is the delivered result, and `transcript.correction_applied` reports whether correction changed it. If correction fails, the service falls back to the raw output.\n\n`transcript.state` is currently `stable` and `transcript.revision` is `0`. The public endpoint does not send a separate correction event, later transcript revisions, or a session-wide final event.\n\nWhen translation is enabled, `live.translation.completed` arrives independently for each target language. It uses raw source text and associates the result by `utterance_index`. A missing translation should not block rendering the source text.\n\n## utterance_index\n\nEach speech segment has a unique, incrementing `utterance_index`. Use it to:\n- Order transcribed results\n- Detect missing events (index gaps)\n- Merge into a complete transcript\n\n## Concurrent utterances\n\nThe upstream may process multiple speech segments simultaneously. `limits.max_concurrent_utterances` limits concurrency. When exceeded, frames are dropped and `lanson.throttled` is sent.\n\n## No partial text\n\nIn the current version:\n- **No partial transcription is pushed**: no intermediate text before `transcription.completed`\n- **One result per utterance**: each utterance produces one `completed` event\n- **Text is immediately stable**: no partial → final transition needed on the client\n\nThis means clients do not need a partial-text replacement protocol on this endpoint. They still need to order concurrent results, handle language uncertainty and errors, and avoid layout shifts in their UI.\n\nPersist completed results as they arrive. Do not infer that a flush message or socket close will produce a full-session final transcript; see [Client Messages](\u002Fdocs\u002Fapi-reference\u002Fclient-messages).\n\n## Related\n\n- [StableStream™](\u002Fdocs\u002Fconcepts\u002Fstablestream) — readable output behavior\n- [LiveFinal™](\u002Fdocs\u002Fconcepts\u002Flivefinal) — correction and finalization\n- [Build a Stable Caption UI](\u002Fdocs\u002Fguides\u002Fstable-caption-ui) — UI implementation\n- [Server Events](\u002Fdocs\u002Fapi-reference\u002Fserver-events) — event field reference\n",{"title":53,"description":589},"l_x8eCND2HSzJZi3uqM-vtetfkIZQl0cIdQXuufybOI",[599,600],{"title":49,"path":50,"stem":51,"children":-1},{"title":57,"path":58,"stem":59,"children":-1},1795064384678]