[{"data":1,"prerenderedAt":1580},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Fapi-reference\u002Fserver-events":235,"surround-\u002Fdocs\u002Fapi-reference\u002Fserver-events":1577},[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":177,"body":237,"description":1568,"extension":1569,"links":1570,"meta":1571,"navigation":1573,"new":18,"path":178,"rawbody":1574,"seo":1575,"stem":179,"technology":1570,"__hash__":1576},"content\u002Fdocs\u002F6.api-reference\u002F4.server-events.md",{"type":238,"value":239,"toc":1550},"minimark",[240,254,259,275,320,330,334,462,465,468,478,488,697,700,706,712,819,822,825,831,834,837,843,930,933,939,945,1212,1217,1226,1255,1272,1296,1299,1302,1308,1392,1395,1398,1404,1440,1442,1445,1451,1456,1460,1524,1528],[241,242,243,244,248,249,253],"p",{},"Events ",[245,246,247],"strong",{},"Lanson Live API"," pushes over ",[250,251,252],"code",{},"WS \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fstream",". Event identifiers remain unchanged by product or technology branding.",[255,256,258],"h2",{"id":257},"stablestream-and-livefinal-on-this-endpoint","StableStream™ and LiveFinal™ on this endpoint",[241,260,261,263,264,266,267,270,271,274],{},[245,262,107],{}," describes stable, readable live text. ",[245,265,127],{}," describes progressive correction and segment finalization. On this public endpoint, optional refinement runs ",[245,268,269],{},"before"," a single ",[250,272,273],{},"conversation.item.input_audio_transcription.completed"," event is delivered for each successfully processed utterance.",[276,277,278,289,307,313],"ul",{},[279,280,281,284,285,288],"li",{},[250,282,283],{},"text"," is the delivered segment; ",[250,286,287],{},"raw_text"," is recognition output before optional correction.",[279,290,291,294,295,298,299,302,303,306],{},[250,292,293],{},"transcript.state"," is ",[250,296,297],{},"stable","; ",[250,300,301],{},"transcript.revision"," is currently always ",[250,304,305],{},"0",".",[279,308,309,312],{},[250,310,311],{},"transcript.correction_applied"," indicates that correction changed the text. Refinement requires opt-in and gateway availability.",[279,314,315,316,319],{},"There are no partial\u002Frevision events, separate ",[250,317,318],{},"live.correction.completed"," events, or session-wide final transcript events on this endpoint.",[241,321,322,323,326,327,329],{},"Technology names are not wire types. See ",[324,325,127],"a",{"href":128}," for the processing boundaries and ",[324,328,53],{"href":54}," for client behavior.",[255,331,333],{"id":332},"overview","Overview",[335,336,337,353],"table",{},[338,339,340],"thead",{},[341,342,343,347,350],"tr",{},[344,345,346],"th",{},"type",[344,348,349],{},"Source",[344,351,352],{},"Description",[354,355,356,370,385,398,410,425,437,449],"tbody",{},[341,357,358,364,367],{},[359,360,361],"td",{},[250,362,363],{},"session.created",[359,365,366],{},"Gateway",[359,368,369],{},"Sent on connection establishment",[341,371,372,377,379],{},[359,373,374],{},[250,375,376],{},"session.updated",[359,378,366],{},[359,380,381,382],{},"Confirms an applied ",[250,383,384],{},"session.update",[341,386,387,392,395],{},[359,388,389],{},[250,390,391],{},"input_audio_buffer.speech_started",[359,393,394],{},"Upstream",[359,396,397],{},"Speech segment detected",[341,399,400,405,407],{},[359,401,402],{},[250,403,404],{},"input_audio_buffer.speech_stopped",[359,406,394],{},[359,408,409],{},"Speech segment ended",[341,411,412,416,418],{},[359,413,414],{},[250,415,273],{},[359,417,394],{},[359,419,420,421,424],{},"A speech segment has been transcribed (",[245,422,423],{},"primary output",")",[341,426,427,432,434],{},[359,428,429],{},[250,430,431],{},"live.translation.completed",[359,433,366],{},[359,435,436],{},"Translation for one utterance + target language",[341,438,439,444,446],{},[359,440,441],{},[250,442,443],{},"lanson.throttled",[359,445,366],{},[359,447,448],{},"Throttle notification (max once per second)",[341,450,451,456,459],{},[359,452,453],{},[250,454,455],{},"error",[359,457,458],{},"Gateway \u002F upstream",[359,460,461],{},"Error event",[255,463,363],{"id":464},"sessioncreated",[241,466,467],{},"Sent by the gateway immediately after connection.",[469,470,476],"pre",{"className":471,"code":473,"language":474,"meta":475},[472],"language-json","{\n  \"type\": \"session.created\",\n  \"request_id\": \"...\",\n  \"session_id\": \"sess_...\",\n  \"audio\": { \"format\": \"pcm_s16le\", \"sample_rate\": 16000, \"channels\": 1 },\n  \"turn_detection\": { \"type\": \"server_vad\" },\n  \"plan\": \"pro\",\n  \"features\": {\n    \"asr_correction\": true,\n    \"refinement\": false,\n    \"translation\": true,\n    \"target_languages\": []\n  },\n  \"limits\": {\n    \"max_concurrent_utterances\": 8,\n    \"max_session_seconds\": 28800,\n    \"idle_timeout_seconds\": 180,\n    \"remaining_audio_seconds\": 720000\n  }\n}\n","json","",[250,477,473],{"__ignoreMap":475},[241,479,480,481,484,485,487],{},"Limits are plan-dependent — the example above shows a ",[250,482,483],{},"pro"," session. See ",[324,486,197],{"href":198}," for all plans.",[335,489,490,502],{},[338,491,492],{},[341,493,494,497,500],{},[344,495,496],{},"Field",[344,498,499],{},"Type",[344,501,352],{},[354,503,504,517,532,545,557,571,583,596,619,631,648,660,672,684],{},[341,505,506,511,514],{},[359,507,508],{},[250,509,510],{},"session_id",[359,512,513],{},"string",[359,515,516],{},"Session identifier",[341,518,519,524,526],{},[359,520,521],{},[250,522,523],{},"audio.format",[359,525,513],{},[359,527,528,529],{},"Fixed: ",[250,530,531],{},"pcm_s16le",[341,533,534,539,542],{},[359,535,536],{},[250,537,538],{},"audio.sample_rate",[359,540,541],{},"number",[359,543,544],{},"Fixed: 16000",[341,546,547,552,554],{},[359,548,549],{},[250,550,551],{},"audio.channels",[359,553,541],{},[359,555,556],{},"Fixed: 1",[341,558,559,564,566],{},[359,560,561],{},[250,562,563],{},"turn_detection.type",[359,565,513],{},[359,567,528,568],{},[250,569,570],{},"server_vad",[341,572,573,578,580],{},[359,574,575],{},[250,576,577],{},"plan",[359,579,513],{},[359,581,582],{},"Current plan",[341,584,585,590,593],{},[359,586,587],{},[250,588,589],{},"features.asr_correction",[359,591,592],{},"boolean",[359,594,595],{},"Whether realtime ASR correction is available on this gateway (opt-in per session)",[341,597,598,603,606],{},[359,599,600],{},[250,601,602],{},"features.refinement",[359,604,605],{},"boolean | string",[359,607,608,611,612,615,616,424],{},[250,609,610],{},"false"," when off, or the enabled profile id (",[250,613,614],{},"\"lite\""," \u002F ",[250,617,618],{},"\"pro\"",[341,620,621,626,628],{},[359,622,623],{},[250,624,625],{},"features.translation",[359,627,592],{},[359,629,630],{},"Whether translation is configured on this gateway",[341,632,633,638,643],{},[359,634,635],{},[250,636,637],{},"features.target_languages",[359,639,513,640],{},[641,642],"span",{},[359,644,645,646,424],{},"Frozen translation targets (empty until ",[250,647,384],{},[341,649,650,655,657],{},[359,651,652],{},[250,653,654],{},"limits.max_concurrent_utterances",[359,656,541],{},[359,658,659],{},"Max concurrent utterances",[341,661,662,667,669],{},[359,663,664],{},[250,665,666],{},"limits.max_session_seconds",[359,668,541],{},[359,670,671],{},"Max session duration (seconds)",[341,673,674,679,681],{},[359,675,676],{},[250,677,678],{},"limits.idle_timeout_seconds",[359,680,541],{},[359,682,683],{},"Idle timeout (seconds)",[341,685,686,691,694],{},[359,687,688],{},[250,689,690],{},"limits.remaining_audio_seconds",[359,692,693],{},"number | null",[359,695,696],{},"Remaining audio budget (null when unlimited)",[255,698,376],{"id":699},"sessionupdated",[241,701,702,703,705],{},"Confirms the state applied by a ",[250,704,384],{},". Sent for every accepted update, including language-only updates.",[469,707,710],{"className":708,"code":709,"language":474,"meta":475},[472],"{\n  \"type\": \"session.updated\",\n  \"request_id\": \"...\",\n  \"session_id\": \"sess_...\",\n  \"language\": \"zh\",\n  \"language_source\": \"client\",\n  \"target_languages\": [\"en\", \"ja\"],\n  \"features\": {\n    \"asr_correction\": true,\n    \"refinement\": false,\n    \"translation\": true\n  }\n}\n",[250,711,709],{"__ignoreMap":475},[335,713,714,724],{},[338,715,716],{},[341,717,718,720,722],{},[344,719,496],{},[344,721,499],{},[344,723,352],{},[354,725,726,743,761,775,786,802],{},[341,727,728,733,736],{},[359,729,730],{},[250,731,732],{},"language",[359,734,735],{},"string | null",[359,737,738,739,742],{},"Effective source language (",[250,740,741],{},"null"," while auto-detection is undecided)",[341,744,745,750,752],{},[359,746,747],{},[250,748,749],{},"language_source",[359,751,513],{},[359,753,754,757,758],{},[250,755,756],{},"client"," or ",[250,759,760],{},"auto",[341,762,763,768,772],{},[359,764,765],{},[250,766,767],{},"target_languages",[359,769,513,770],{},[641,771],{},[359,773,774],{},"Frozen translation targets",[341,776,777,781,783],{},[359,778,779],{},[250,780,589],{},[359,782,592],{},[359,784,785],{},"Whether realtime ASR correction is available on this gateway",[341,787,788,792,794],{},[359,789,790],{},[250,791,602],{},[359,793,605],{},[359,795,796,611,798,615,800,424],{},[250,797,610],{},[250,799,614],{},[250,801,618],{},[341,803,804,808,810],{},[359,805,806],{},[250,807,625],{},[359,809,592],{},[359,811,812,815,816,818],{},[250,813,814],{},"true"," when ",[250,817,767],{}," is non-empty",[255,820,391],{"id":821},"input_audio_bufferspeech_started",[241,823,824],{},"VAD detected the start of a speech segment.",[469,826,829],{"className":827,"code":828,"language":474,"meta":475},[472],"{\n  \"type\": \"input_audio_buffer.speech_started\",\n  \"request_id\": \"...\",\n  \"utterance_index\": 0\n}\n",[250,830,828],{"__ignoreMap":475},[255,832,404],{"id":833},"input_audio_bufferspeech_stopped",[241,835,836],{},"VAD detected the end of a speech segment.",[469,838,841],{"className":839,"code":840,"language":474,"meta":475},[472],"{\n  \"type\": \"input_audio_buffer.speech_stopped\",\n  \"request_id\": \"...\",\n  \"utterance_index\": 0,\n  \"reason\": \"end_of_speech\",\n  \"audio_duration_ms\": 3200,\n  \"speech_duration_ms\": 2800\n}\n",[250,842,840],{"__ignoreMap":475},[335,844,845,855],{},[338,846,847],{},[341,848,849,851,853],{},[344,850,496],{},[344,852,499],{},[344,854,352],{},[354,856,857,869,881,893,906,918],{},[341,858,859,864,866],{},[359,860,861],{},[250,862,863],{},"utterance_index",[359,865,541],{},[359,867,868],{},"Speech segment number",[341,870,871,876,878],{},[359,872,873],{},[250,874,875],{},"reason",[359,877,513],{},[359,879,880],{},"Stop reason",[341,882,883,888,890],{},[359,884,885],{},[250,886,887],{},"audio_duration_ms",[359,889,541],{},[359,891,892],{},"Total audio duration",[341,894,895,900,903],{},[359,896,897],{},[250,898,899],{},"speech_duration_ms",[359,901,902],{},"number?",[359,904,905],{},"Actual speech duration",[341,907,908,913,915],{},[359,909,910],{},[250,911,912],{},"split_offset_ms",[359,914,902],{},[359,916,917],{},"Split offset",[341,919,920,925,927],{},[359,921,922],{},[250,923,924],{},"split_rms",[359,926,902],{},[359,928,929],{},"Split RMS value",[255,931,273],{"id":932},"conversationiteminput_audio_transcriptioncompleted",[241,934,935,938],{},[245,936,937],{},"Primary output event."," A speech segment has been transcribed.",[469,940,943],{"className":941,"code":942,"language":474,"meta":475},[472],"{\n  \"type\": \"conversation.item.input_audio_transcription.completed\",\n  \"request_id\": \"...\",\n  \"session_id\": \"sess_...\",\n  \"utterance_index\": 0,\n  \"text\": \"The weather is nice today\",\n  \"raw_text\": \"The weather is nice today\",\n  \"language\": \"en\",\n  \"language_source\": \"auto\",\n  \"language_provisional\": false,\n  \"audio_duration_ms\": 3200,\n  \"latency_ms\": 124,\n  \"stt_endpoint\": \"https:\u002F\u002F...\u002Fv1\u002Faudio\u002Ftranscriptions\",\n  \"worker_id\": \"cohere-s1\",\n  \"transcript\": {\n    \"id\": \"tr_0\",\n    \"context_id\": \"ctx_sess_...\",\n    \"state\": \"stable\",\n    \"revision\": 0,\n    \"safe_for_downstream\": true,\n    \"correction_applied\": false,\n    \"language_source\": \"auto\",\n    \"language_provisional\": false\n  }\n}\n",[250,944,942],{"__ignoreMap":475},[335,946,947,957],{},[338,948,949],{},[341,950,951,953,955],{},[344,952,496],{},[344,954,499],{},[344,956,352],{},[354,958,959,969,980,991,1002,1021,1035,1048,1059,1071,1083,1095,1107,1119,1132,1146,1161,1172,1186,1199],{},[341,960,961,965,967],{},[359,962,963],{},[250,964,863],{},[359,966,541],{},[359,968,868],{},[341,970,971,975,977],{},[359,972,973],{},[250,974,283],{},[359,976,513],{},[359,978,979],{},"Final transcribed text",[341,981,982,986,988],{},[359,983,984],{},[250,985,287],{},[359,987,513],{},[359,989,990],{},"Text before optional correction",[341,992,993,997,999],{},[359,994,995],{},[250,996,732],{},[359,998,513],{},[359,1000,1001],{},"Language used for the request",[341,1003,1004,1008,1010],{},[359,1005,1006],{},[250,1007,749],{},[359,1009,513],{},[359,1011,1012,1014,1015,1017,1018,1020],{},[250,1013,756],{}," (explicit ",[250,1016,384],{},") or ",[250,1019,760],{}," (session detection)",[341,1022,1023,1028,1030],{},[359,1024,1025],{},[250,1026,1027],{},"language_provisional",[359,1029,592],{},[359,1031,1032,1034],{},[250,1033,814],{}," while auto-detection has not locked yet (best-effort language)",[341,1036,1037,1042,1045],{},[359,1038,1039],{},[250,1040,1041],{},"language_detection_error",[359,1043,1044],{},"string?",[359,1046,1047],{},"Present when auto-detection failed for this utterance",[341,1049,1050,1054,1056],{},[359,1051,1052],{},[250,1053,887],{},[359,1055,541],{},[359,1057,1058],{},"Audio duration",[341,1060,1061,1066,1068],{},[359,1062,1063],{},[250,1064,1065],{},"latency_ms",[359,1067,541],{},[359,1069,1070],{},"Processing latency",[341,1072,1073,1078,1080],{},[359,1074,1075],{},[250,1076,1077],{},"stt_endpoint",[359,1079,513],{},[359,1081,1082],{},"Upstream STT endpoint that produced the result",[341,1084,1085,1090,1092],{},[359,1086,1087],{},[250,1088,1089],{},"worker_id",[359,1091,513],{},[359,1093,1094],{},"Upstream worker that produced the result",[341,1096,1097,1102,1104],{},[359,1098,1099],{},[250,1100,1101],{},"transcript.id",[359,1103,513],{},[359,1105,1106],{},"Transcript record id",[341,1108,1109,1114,1116],{},[359,1110,1111],{},[250,1112,1113],{},"transcript.context_id",[359,1115,513],{},[359,1117,1118],{},"Session-scoped context id",[341,1120,1121,1125,1127],{},[359,1122,1123],{},[250,1124,293],{},[359,1126,513],{},[359,1128,1129,1131],{},[250,1130,297],{}," for the primary output",[341,1133,1134,1138,1140],{},[359,1135,1136],{},[250,1137,301],{},[359,1139,541],{},[359,1141,1142,1143,1145],{},"Currently ",[250,1144,305],{},"; this endpoint does not emit later revisions",[341,1147,1148,1153,1155],{},[359,1149,1150],{},[250,1151,1152],{},"transcript.safe_for_downstream",[359,1154,592],{},[359,1156,1157,1158,1160],{},"Basic readiness signal (",[250,1159,610],{}," for empty text or a detection error); not an accuracy guarantee",[341,1162,1163,1167,1169],{},[359,1164,1165],{},[250,1166,311],{},[359,1168,592],{},[359,1170,1171],{},"Whether ASR correction changed the text",[341,1173,1174,1179,1181],{},[359,1175,1176],{},[250,1177,1178],{},"transcript.language_source",[359,1180,513],{},[359,1182,1183,1184],{},"Same as the top-level ",[250,1185,749],{},[341,1187,1188,1193,1195],{},[359,1189,1190],{},[250,1191,1192],{},"transcript.language_provisional",[359,1194,592],{},[359,1196,1183,1197],{},[250,1198,1027],{},[341,1200,1201,1206,1208],{},[359,1202,1203],{},[250,1204,1205],{},"transcript.language_detection_error",[359,1207,1044],{},[359,1209,1183,1210],{},[250,1211,1041],{},[1213,1214,1216],"h3",{"id":1215},"language-fields-and-ui-display","Language fields and UI display",[241,1218,1219,1220,1222,1223,1225],{},"In ",[250,1221,760],{}," mode, ",[250,1224,732],{}," is the language the session detected and used for this utterance. The client can display it directly:",[276,1227,1228,1234,1240,1250],{},[279,1229,1230,1233],{},[250,1231,1232],{},"language_source: \"client\""," — the client explicitly set this language; it is not a detection result.",[279,1235,1236,1239],{},[250,1237,1238],{},"language_source: \"auto\""," — the language came from session detection.",[279,1241,1242,1245,1246,1249],{},[250,1243,1244],{},"language_provisional: true"," — detection is still voting; show the language as provisional (for example “detecting…” or a muted badge). A later event with ",[250,1247,1248],{},"language_provisional: false"," confirms the locked language.",[279,1251,1252,1254],{},[250,1253,1041],{}," present — detection failed; show “unknown” and retry on the next utterance rather than displaying a wrong language.",[241,1256,1257,1258,1265,1266,1271],{},"Detection is delivered ",[245,1259,1260,1261,1264],{},"with the utterance's ",[250,1262,1263],{},"completed"," event","; there is no separate client event for \"language detected\". If the UI needs the language before sending audio, call ",[324,1267,1268],{"href":206},[250,1269,1270],{},"POST \u002Fv1\u002Faudio\u002Flanguage-detection"," first.",[1273,1274,1277],"callout",{"color":1275,"icon":1276},"primary","i-lucide-info",[241,1278,1219,1279,1222,1281,1283,1284,1286,1287,294,1290,1292,1293,1295],{},[250,1280,760],{},[250,1282,1244],{}," means the session is still voting on the language; the text is best-effort. If detection fails, ",[250,1285,1041],{}," is present and ",[250,1288,1289],{},"safe_for_downstream",[250,1291,610],{},"; the session retries on later speech. Passing an explicit ",[250,1294,732],{}," avoids this state entirely.",[255,1297,431],{"id":1298},"livetranslationcompleted",[241,1300,1301],{},"Translation for one utterance and one target language. One event per target language, emitted independently and never blocking the source transcript.",[469,1303,1306],{"className":1304,"code":1305,"language":474,"meta":475},[472],"{\n  \"type\": \"live.translation.completed\",\n  \"request_id\": \"...\",\n  \"session_id\": \"sess_...\",\n  \"utterance_index\": 0,\n  \"language\": \"en\",\n  \"text\": \"The weather is nice today\",\n  \"source_text\": \"今天天气不错\",\n  \"source_language\": \"zh\",\n  \"latency_ms\": 180\n}\n",[250,1307,1305],{"__ignoreMap":475},[335,1309,1310,1320],{},[338,1311,1312],{},[341,1313,1314,1316,1318],{},[344,1315,496],{},[344,1317,499],{},[344,1319,352],{},[354,1321,1322,1335,1346,1357,1369,1381],{},[341,1323,1324,1328,1330],{},[359,1325,1326],{},[250,1327,863],{},[359,1329,541],{},[359,1331,1332,1333,1264],{},"Matches the source ",[250,1334,273],{},[341,1336,1337,1341,1343],{},[359,1338,1339],{},[250,1340,732],{},[359,1342,513],{},[359,1344,1345],{},"Target language (normalized BCP-47)",[341,1347,1348,1352,1354],{},[359,1349,1350],{},[250,1351,283],{},[359,1353,513],{},[359,1355,1356],{},"Translated text",[341,1358,1359,1364,1366],{},[359,1360,1361],{},[250,1362,1363],{},"source_text",[359,1365,513],{},[359,1367,1368],{},"Raw ASR line the translation is based on",[341,1370,1371,1376,1378],{},[359,1372,1373],{},[250,1374,1375],{},"source_language",[359,1377,1044],{},[359,1379,1380],{},"Source language used for this utterance",[341,1382,1383,1387,1389],{},[359,1384,1385],{},[250,1386,1065],{},[359,1388,541],{},[359,1390,1391],{},"Translation latency",[255,1393,443],{"id":1394},"lansonthrottled",[241,1396,1397],{},"Gateway throttle notification, sent at most once per second.",[469,1399,1402],{"className":1400,"code":1401,"language":474,"meta":475},[472],"{\n  \"type\": \"lanson.throttled\",\n  \"reason\": \"concurrent_utterance_limit\",\n  \"dropped_audio_frames\": 3,\n  \"in_flight_utterances\": 2\n}\n",[250,1403,1401],{"__ignoreMap":475},[335,1405,1406,1418],{},[338,1407,1408],{},[341,1409,1410,1415],{},[344,1411,1412,1414],{},[250,1413,875],{}," value",[344,1416,1417],{},"Meaning",[354,1419,1420,1430],{},[341,1421,1422,1427],{},[359,1423,1424],{},[250,1425,1426],{},"concurrent_utterance_limit",[359,1428,1429],{},"Concurrent utterance limit exceeded",[341,1431,1432,1437],{},[359,1433,1434],{},[250,1435,1436],{},"client_backpressure",[359,1438,1439],{},"Client is not reading events fast enough",[255,1441,455],{"id":455},[241,1443,1444],{},"Error event. Can be sent at any time during the WebSocket connection.",[469,1446,1449],{"className":1447,"code":1448,"language":474,"meta":475},[472],"{\n  \"type\": \"error\",\n  \"code\": \"audio_frame_too_large\",\n  \"message\": \"Audio frame exceeds maximum size.\",\n  \"request_id\": \"...\"\n}\n",[250,1450,1448],{"__ignoreMap":475},[241,1452,1453,1454,306],{},"Error codes are listed in ",[324,1455,193],{"href":194},[255,1457,1459],{"id":1458},"event-ordering","Event ordering",[1461,1462,1463,1468,1479,1484,1490,1495,1500,1505,1510,1515,1521],"ol",{},[279,1464,1465,1467],{},[250,1466,363],{}," — Session initialized upon WebSocket handshake.",[279,1469,1470,1472,1473,1475,1476,1478],{},[250,1471,384],{}," — Client optionally sets ",[250,1474,732],{}," and ",[250,1477,767],{}," (recommended before audio).",[279,1480,1481,1483],{},[250,1482,376],{}," — Gateway confirms the applied session state.",[279,1485,1486,1489],{},[250,1487,1488],{},"input_audio_buffer.append"," — Client streams base64 PCM16 audio frames.",[279,1491,1492,1494],{},[250,1493,391],{}," — Server-side VAD detects start of speech.",[279,1496,1497,1499],{},[250,1498,1488],{}," — Client continues streaming speech audio.",[279,1501,1502,1504],{},[250,1503,404],{}," — VAD detects silence or segment boundary.",[279,1506,1507,1509],{},[250,1508,273],{}," — Stable transcription text delivered.",[279,1511,1512,1514],{},[250,1513,431],{}," — One event per target language, as each translation finishes.",[279,1516,1517],{},[1518,1519,1520],"em",{},"(Repeats for each utterance in the stream)",[279,1522,1523],{},"Session close.",[255,1525,1527],{"id":1526},"related","Related",[276,1529,1530,1535,1540,1545],{},[279,1531,1532,1534],{},[324,1533,173],{"href":174}," — client-sent messages",[279,1536,1537,1539],{},[324,1538,193],{"href":194}," — full error reference",[279,1541,1542,1544],{},[324,1543,53],{"href":54}," — state transitions",[279,1546,1547,1549],{},[324,1548,127],{"href":128}," — correction and finalization behavior",{"title":475,"searchDepth":1551,"depth":1551,"links":1552},2,[1553,1554,1555,1556,1557,1558,1559,1563,1564,1565,1566,1567],{"id":257,"depth":1551,"text":258},{"id":332,"depth":1551,"text":333},{"id":464,"depth":1551,"text":363},{"id":699,"depth":1551,"text":376},{"id":821,"depth":1551,"text":391},{"id":833,"depth":1551,"text":404},{"id":932,"depth":1551,"text":273,"children":1560},[1561],{"id":1215,"depth":1562,"text":1216},3,{"id":1298,"depth":1551,"text":431},{"id":1394,"depth":1551,"text":443},{"id":455,"depth":1551,"text":455},{"id":1458,"depth":1551,"text":1459},{"id":1526,"depth":1551,"text":1527},"Lanson Live API WebSocket events, StableStream™ output, and correction metadata.","md",null,{"updated":1572},"2026-11-08",true,"---\ntitle: Server Events\ndescription: Lanson Live API WebSocket events, StableStream™ output, and correction metadata.\nupdated: 2026-11-08\n---\nEvents **Lanson Live API** pushes over `WS \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fstream`. Event identifiers remain unchanged by product or technology branding.\n\n## StableStream™ and LiveFinal™ on this endpoint\n\n**StableStream™** describes stable, readable live text. **LiveFinal™** describes progressive correction and segment finalization. On this public endpoint, optional refinement runs **before** a single `conversation.item.input_audio_transcription.completed` event is delivered for each successfully processed utterance.\n\n- `text` is the delivered segment; `raw_text` is recognition output before optional correction.\n- `transcript.state` is `stable`; `transcript.revision` is currently always `0`.\n- `transcript.correction_applied` indicates that correction changed the text. Refinement requires opt-in and gateway availability.\n- There are no partial\u002Frevision events, separate `live.correction.completed` events, or session-wide final transcript events on this endpoint.\n\nTechnology names are not wire types. See [LiveFinal™](\u002Fdocs\u002Fconcepts\u002Flivefinal) for the processing boundaries and [Transcript Lifecycle](\u002Fdocs\u002Frealtime\u002Ftranscript-lifecycle) for client behavior.\n\n## Overview\n\n| type | Source | Description |\n|---|---|---|\n| `session.created` | Gateway | Sent on connection establishment |\n| `session.updated` | Gateway | Confirms an applied `session.update` |\n| `input_audio_buffer.speech_started` | Upstream | Speech segment detected |\n| `input_audio_buffer.speech_stopped` | Upstream | Speech segment ended |\n| `conversation.item.input_audio_transcription.completed` | Upstream | A speech segment has been transcribed (**primary output**) |\n| `live.translation.completed` | Gateway | Translation for one utterance + target language |\n| `lanson.throttled` | Gateway | Throttle notification (max once per second) |\n| `error` | Gateway \u002F upstream | Error event |\n\n## session.created\n\nSent by the gateway immediately after connection.\n\n```json\n{\n  \"type\": \"session.created\",\n  \"request_id\": \"...\",\n  \"session_id\": \"sess_...\",\n  \"audio\": { \"format\": \"pcm_s16le\", \"sample_rate\": 16000, \"channels\": 1 },\n  \"turn_detection\": { \"type\": \"server_vad\" },\n  \"plan\": \"pro\",\n  \"features\": {\n    \"asr_correction\": true,\n    \"refinement\": false,\n    \"translation\": true,\n    \"target_languages\": []\n  },\n  \"limits\": {\n    \"max_concurrent_utterances\": 8,\n    \"max_session_seconds\": 28800,\n    \"idle_timeout_seconds\": 180,\n    \"remaining_audio_seconds\": 720000\n  }\n}\n```\n\nLimits are plan-dependent — the example above shows a `pro` session. See [Rate Limits](\u002Fdocs\u002Fapi-reference\u002Frate-limits) for all plans.\n\n| Field | Type | Description |\n|---|---|---|\n| `session_id` | string | Session identifier |\n| `audio.format` | string | Fixed: `pcm_s16le` |\n| `audio.sample_rate` | number | Fixed: 16000 |\n| `audio.channels` | number | Fixed: 1 |\n| `turn_detection.type` | string | Fixed: `server_vad` |\n| `plan` | string | Current plan |\n| `features.asr_correction` | boolean | Whether realtime ASR correction is available on this gateway (opt-in per session) |\n| `features.refinement` | boolean \\| string | `false` when off, or the enabled profile id (`\"lite\"` \u002F `\"pro\"`) |\n| `features.translation` | boolean | Whether translation is configured on this gateway |\n| `features.target_languages` | string[] | Frozen translation targets (empty until `session.update`) |\n| `limits.max_concurrent_utterances` | number | Max concurrent utterances |\n| `limits.max_session_seconds` | number | Max session duration (seconds) |\n| `limits.idle_timeout_seconds` | number | Idle timeout (seconds) |\n| `limits.remaining_audio_seconds` | number \\| null | Remaining audio budget (null when unlimited) |\n\n## session.updated\n\nConfirms the state applied by a `session.update`. Sent for every accepted update, including language-only updates.\n\n```json\n{\n  \"type\": \"session.updated\",\n  \"request_id\": \"...\",\n  \"session_id\": \"sess_...\",\n  \"language\": \"zh\",\n  \"language_source\": \"client\",\n  \"target_languages\": [\"en\", \"ja\"],\n  \"features\": {\n    \"asr_correction\": true,\n    \"refinement\": false,\n    \"translation\": true\n  }\n}\n```\n\n| Field | Type | Description |\n|---|---|---|\n| `language` | string \\| null | Effective source language (`null` while auto-detection is undecided) |\n| `language_source` | string | `client` or `auto` |\n| `target_languages` | string[] | Frozen translation targets |\n| `features.asr_correction` | boolean | Whether realtime ASR correction is available on this gateway |\n| `features.refinement` | boolean \\| string | `false` when off, or the enabled profile id (`\"lite\"` \u002F `\"pro\"`) |\n| `features.translation` | boolean | `true` when `target_languages` is non-empty |\n\n## input_audio_buffer.speech_started\n\nVAD detected the start of a speech segment.\n\n```json\n{\n  \"type\": \"input_audio_buffer.speech_started\",\n  \"request_id\": \"...\",\n  \"utterance_index\": 0\n}\n```\n\n## input_audio_buffer.speech_stopped\n\nVAD detected the end of a speech segment.\n\n```json\n{\n  \"type\": \"input_audio_buffer.speech_stopped\",\n  \"request_id\": \"...\",\n  \"utterance_index\": 0,\n  \"reason\": \"end_of_speech\",\n  \"audio_duration_ms\": 3200,\n  \"speech_duration_ms\": 2800\n}\n```\n\n| Field | Type | Description |\n|---|---|---|\n| `utterance_index` | number | Speech segment number |\n| `reason` | string | Stop reason |\n| `audio_duration_ms` | number | Total audio duration |\n| `speech_duration_ms` | number? | Actual speech duration |\n| `split_offset_ms` | number? | Split offset |\n| `split_rms` | number? | Split RMS value |\n\n## conversation.item.input_audio_transcription.completed\n\n**Primary output event.** A speech segment has been transcribed.\n\n```json\n{\n  \"type\": \"conversation.item.input_audio_transcription.completed\",\n  \"request_id\": \"...\",\n  \"session_id\": \"sess_...\",\n  \"utterance_index\": 0,\n  \"text\": \"The weather is nice today\",\n  \"raw_text\": \"The weather is nice today\",\n  \"language\": \"en\",\n  \"language_source\": \"auto\",\n  \"language_provisional\": false,\n  \"audio_duration_ms\": 3200,\n  \"latency_ms\": 124,\n  \"stt_endpoint\": \"https:\u002F\u002F...\u002Fv1\u002Faudio\u002Ftranscriptions\",\n  \"worker_id\": \"cohere-s1\",\n  \"transcript\": {\n    \"id\": \"tr_0\",\n    \"context_id\": \"ctx_sess_...\",\n    \"state\": \"stable\",\n    \"revision\": 0,\n    \"safe_for_downstream\": true,\n    \"correction_applied\": false,\n    \"language_source\": \"auto\",\n    \"language_provisional\": false\n  }\n}\n```\n\n| Field | Type | Description |\n|---|---|---|\n| `utterance_index` | number | Speech segment number |\n| `text` | string | Final transcribed text |\n| `raw_text` | string | Text before optional correction |\n| `language` | string | Language used for the request |\n| `language_source` | string | `client` (explicit `session.update`) or `auto` (session detection) |\n| `language_provisional` | boolean | `true` while auto-detection has not locked yet (best-effort language) |\n| `language_detection_error` | string? | Present when auto-detection failed for this utterance |\n| `audio_duration_ms` | number | Audio duration |\n| `latency_ms` | number | Processing latency |\n| `stt_endpoint` | string | Upstream STT endpoint that produced the result |\n| `worker_id` | string | Upstream worker that produced the result |\n| `transcript.id` | string | Transcript record id |\n| `transcript.context_id` | string | Session-scoped context id |\n| `transcript.state` | string | `stable` for the primary output |\n| `transcript.revision` | number | Currently `0`; this endpoint does not emit later revisions |\n| `transcript.safe_for_downstream` | boolean | Basic readiness signal (`false` for empty text or a detection error); not an accuracy guarantee |\n| `transcript.correction_applied` | boolean | Whether ASR correction changed the text |\n| `transcript.language_source` | string | Same as the top-level `language_source` |\n| `transcript.language_provisional` | boolean | Same as the top-level `language_provisional` |\n| `transcript.language_detection_error` | string? | Same as the top-level `language_detection_error` |\n\n### Language fields and UI display\n\nIn `auto` mode, `language` is the language the session detected and used for this utterance. The client can display it directly:\n\n- `language_source: \"client\"` — the client explicitly set this language; it is not a detection result.\n- `language_source: \"auto\"` — the language came from session detection.\n- `language_provisional: true` — detection is still voting; show the language as provisional (for example “detecting…” or a muted badge). A later event with `language_provisional: false` confirms the locked language.\n- `language_detection_error` present — detection failed; show “unknown” and retry on the next utterance rather than displaying a wrong language.\n\nDetection is delivered **with the utterance's `completed` event**; there is no separate client event for \"language detected\". If the UI needs the language before sending audio, call [`POST \u002Fv1\u002Faudio\u002Flanguage-detection`](\u002Fdocs\u002Fapi-reference\u002Flanguage-detection) first.\n\n::callout{icon=\"i-lucide-info\" color=\"primary\"}\nIn `auto` mode, `language_provisional: true` means the session is still voting on the language; the text is best-effort. If detection fails, `language_detection_error` is present and `safe_for_downstream` is `false`; the session retries on later speech. Passing an explicit `language` avoids this state entirely.\n::\n\n## live.translation.completed\n\nTranslation for one utterance and one target language. One event per target language, emitted independently and never blocking the source transcript.\n\n```json\n{\n  \"type\": \"live.translation.completed\",\n  \"request_id\": \"...\",\n  \"session_id\": \"sess_...\",\n  \"utterance_index\": 0,\n  \"language\": \"en\",\n  \"text\": \"The weather is nice today\",\n  \"source_text\": \"今天天气不错\",\n  \"source_language\": \"zh\",\n  \"latency_ms\": 180\n}\n```\n\n| Field | Type | Description |\n|---|---|---|\n| `utterance_index` | number | Matches the source `conversation.item.input_audio_transcription.completed` event |\n| `language` | string | Target language (normalized BCP-47) |\n| `text` | string | Translated text |\n| `source_text` | string | Raw ASR line the translation is based on |\n| `source_language` | string? | Source language used for this utterance |\n| `latency_ms` | number | Translation latency |\n\n## lanson.throttled\n\nGateway throttle notification, sent at most once per second.\n\n```json\n{\n  \"type\": \"lanson.throttled\",\n  \"reason\": \"concurrent_utterance_limit\",\n  \"dropped_audio_frames\": 3,\n  \"in_flight_utterances\": 2\n}\n```\n\n| `reason` value | Meaning |\n|---|---|\n| `concurrent_utterance_limit` | Concurrent utterance limit exceeded |\n| `client_backpressure` | Client is not reading events fast enough |\n\n## error\n\nError event. Can be sent at any time during the WebSocket connection.\n\n```json\n{\n  \"type\": \"error\",\n  \"code\": \"audio_frame_too_large\",\n  \"message\": \"Audio frame exceeds maximum size.\",\n  \"request_id\": \"...\"\n}\n```\n\nError codes are listed in [Errors](\u002Fdocs\u002Fapi-reference\u002Ferrors).\n\n## Event ordering\n\n1. `session.created` — Session initialized upon WebSocket handshake.\n2. `session.update` — Client optionally sets `language` and `target_languages` (recommended before audio).\n3. `session.updated` — Gateway confirms the applied session state.\n4. `input_audio_buffer.append` — Client streams base64 PCM16 audio frames.\n5. `input_audio_buffer.speech_started` — Server-side VAD detects start of speech.\n6. `input_audio_buffer.append` — Client continues streaming speech audio.\n7. `input_audio_buffer.speech_stopped` — VAD detects silence or segment boundary.\n8. `conversation.item.input_audio_transcription.completed` — Stable transcription text delivered.\n9. `live.translation.completed` — One event per target language, as each translation finishes.\n10. *(Repeats for each utterance in the stream)*\n11. Session close.\n\n## Related\n\n- [Client Messages](\u002Fdocs\u002Fapi-reference\u002Fclient-messages) — client-sent messages\n- [Errors](\u002Fdocs\u002Fapi-reference\u002Ferrors) — full error reference\n- [Transcript Lifecycle](\u002Fdocs\u002Frealtime\u002Ftranscript-lifecycle) — state transitions\n- [LiveFinal™](\u002Fdocs\u002Fconcepts\u002Flivefinal) — correction and finalization behavior\n",{"title":177,"description":1568},"PWPFKOyPAg5BzfblfGMrb0SDDmqhM5ZAbMwKBF3jEVc",[1578,1579],{"title":173,"path":174,"stem":175,"children":-1},{"title":181,"path":182,"stem":183,"children":-1},1795064386595]