[{"data":1,"prerenderedAt":794},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Fapi-reference\u002Fsegment-transcription":235,"surround-\u002Fdocs\u002Fapi-reference\u002Fsegment-transcription":791},[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":181,"body":237,"description":782,"extension":783,"links":784,"meta":785,"navigation":787,"new":18,"path":182,"rawbody":788,"seo":789,"stem":183,"technology":784,"__hash__":790},"content\u002Fdocs\u002F6.api-reference\u002F5.segment-transcription.md",{"type":238,"value":239,"toc":767},"minimark",[240,245,250,276,282,285,304,308,318,321,327,331,336,494,517,521,529,533,538,545,548,587,591,640,647,650,736,742,746],[241,242,244],"h2",{"id":243},"post-v1audiotranscriptions","POST \u002Fv1\u002Faudio\u002Ftranscriptions",[246,247,249],"h3",{"id":248},"what-it-does","What it does",[251,252,253,254,258,259,262,263,266,267,271,272,275],"p",{},"Use the ",[255,256,257],"strong",{},"Segment"," path of ",[255,260,261],{},"Lanson Live API"," to transcribe a ",[255,264,265],{},"single speech clip"," synchronously. This endpoint accepts OpenAI-compatible ",[268,269,270],"code",{},"multipart\u002Fform-data"," requests with a ",[268,273,274],{},"file",".",[251,277,278,281],{},[255,279,280],{},"Client responsibility:"," you must segment speech with your own VAD before calling. Do not send continuous silence — the service does not filter silence, empty clips, or low-energy audio. Whatever you POST is transcribed and billed.",[251,283,284],{},"Typical integrators: voice clients (e.g. Flow) that detect utterance boundaries locally and upload each clip as WAV.",[286,287,290],"callout",{"color":288,"icon":289},"primary","i-lucide-info",[251,291,292,295,296,299,300,275],{},[255,293,294],{},"Billing:"," this endpoint is metered by processed audio and billed at the ",[255,297,298],{},"offline transcription"," rate. See ",[301,302,303],"a",{"href":30},"API pricing",[246,305,307],{"id":306},"endpoint","Endpoint",[309,310,315],"pre",{"className":311,"code":313,"language":314},[312],"language-text","POST \u002Fv1\u002Faudio\u002Ftranscriptions\n","text",[268,316,313],{"__ignoreMap":317},"",[246,319,21],{"id":320},"authentication",[309,322,325],{"className":323,"code":324,"language":314},[312],"Authorization: Bearer sk-...\n",[268,326,324],{"__ignoreMap":317},[246,328,330],{"id":329},"request","Request",[251,332,333],{},[268,334,335],{},"Content-Type: multipart\u002Fform-data",[337,338,339,361],"table",{},[340,341,342],"thead",{},[343,344,345,349,352,355,358],"tr",{},[346,347,348],"th",{},"Field",[346,350,351],{},"Type",[346,353,354],{},"Required",[346,356,357],{},"Default",[346,359,360],{},"Description",[362,363,364,384,406,436,452,478],"tbody",{},[343,365,366,371,373,378,381],{},[367,368,369],"td",{},[268,370,274],{},[367,372,274],{},[367,374,375],{},[255,376,377],{},"yes",[367,379,380],{},"—",[367,382,383],{},"Speech clip (WAV, MP3, etc.)",[343,385,386,391,394,397,399],{},[367,387,388],{},[268,389,390],{},"model",[367,392,393],{},"string",[367,395,396],{},"no",[367,398,380],{},[367,400,401,402,405],{},"Optional compatibility field; omit it. Clients that require a name can use ",[268,403,404],{},"lanson-live-1",". It does not select an upstream model.",[343,407,408,413,415,419,421],{},[367,409,410],{},[268,411,412],{},"language",[367,414,393],{},[367,416,417],{},[255,418,377],{},[367,420,380],{},[367,422,423,424,427,428,431,432,435],{},"Explicit ISO-639-1 code (",[268,425,426],{},"zh",", ",[268,429,430],{},"en",", …). ",[268,433,434],{},"auto"," is rejected.",[343,437,438,443,445,447,449],{},[367,439,440],{},[268,441,442],{},"prompt",[367,444,393],{},[367,446,396],{},[367,448,380],{},[367,450,451],{},"Recognition context hint",[343,453,454,459,461,463,468],{},[367,455,456],{},[268,457,458],{},"response_format",[367,460,393],{},[367,462,396],{},[367,464,465],{},[268,466,467],{},"verbose_json",[367,469,470,427,472,475,476],{},[268,471,467],{},[268,473,474],{},"json",", or ",[268,477,314],{},[343,479,480,485,487,489,491],{},[367,481,482],{},[268,483,484],{},"worker_id",[367,486,393],{},[367,488,396],{},[367,490,380],{},[367,492,493],{},"Pin to a specific worker ID",[286,495,498],{"color":496,"icon":497},"amber","i-lucide-triangle-alert",[251,499,500,501,504,505,508,509,512,513,516],{},"Not for long files or raw recordings\nUse ",[301,502,503],{"href":186},"Batch Jobs"," (",[268,506,507],{},"POST \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs",") for ",[268,510,511],{},"audio_url"," async processing. Use ",[301,514,515],{"href":170},"Realtime WS"," when the server should run VAD on a PCM stream.",[246,518,520],{"id":519},"example","Example",[309,522,527],{"className":523,"code":525,"language":526,"meta":317},[524],"language-bash","curl -X POST https:\u002F\u002Faudio.lansonai.com\u002Fv1\u002Faudio\u002Ftranscriptions \\\n  -H \"Authorization: Bearer sk-...\" \\\n  -F \"file=@utterance.wav\" \\\n  -F \"language=zh\" \\\n  -F \"response_format=verbose_json\"\n","bash",[268,528,525],{"__ignoreMap":317},[246,530,532],{"id":531},"response-200-ok","Response — 200 OK",[251,534,535,537],{},[268,536,467],{}," (default):",[309,539,543],{"className":540,"code":542,"language":474,"meta":317},[541],"language-json","{\n  \"text\": \"你好世界\",\n  \"language\": \"zh\",\n  \"duration\": 1.2,\n  \"segments\": [],\n  \"words\": []\n}\n",[268,544,542],{"__ignoreMap":317},[251,546,547],{},"Response headers:",[337,549,550,559],{},[340,551,552],{},[343,553,554,557],{},[346,555,556],{},"Header",[346,558,360],{},[362,560,561,571],{},[343,562,563,568],{},[367,564,565],{},[268,566,567],{},"X-Worker-Id",[367,569,570],{},"Worker that produced the result",[343,572,573,578],{},[367,574,575],{},[268,576,577],{},"X-Fallback-Used",[367,579,580,583,584],{},[268,581,582],{},"1"," if a fallback worker was used, else ",[268,585,586],{},"0",[246,588,590],{"id":589},"latency-and-retries","Latency and retries",[337,592,593,603],{},[340,594,595],{},[343,596,597,600],{},[346,598,599],{},"Rule",[346,601,602],{},"Value",[362,604,605,613,621,632],{},[343,606,607,610],{},[367,608,609],{},"Per-attempt timeout",[367,611,612],{},"800 ms",[343,614,615,618],{},[367,616,617],{},"Max POST attempts per request",[367,619,620],{},"3 (attempt chain: pinned → preference chain → ultimate fallback)",[343,622,623,626],{},[367,624,625],{},"Server HTTP retry",[367,627,628,631],{},[255,629,630],{},"No"," — failed requests return an error; client may resend",[343,633,634,637],{},[367,635,636],{},"Cold workers",[367,638,639],{},"Not POSTed on this request; health probe may run async; cloud fallback used for cold path",[251,641,642,643,646],{},"Wall-clock budget is ",[255,644,645],{},"≤2.4 s"," (3 attempts × 800 ms).",[246,648,193],{"id":649},"errors",[337,651,652,664],{},[340,653,654],{},[343,655,656,659,662],{},[346,657,658],{},"Status",[346,660,661],{},"Code",[346,663,360],{},[362,665,666,681,696,713,723],{},[343,667,668,671,676],{},[367,669,670],{},"400",[367,672,673],{},[268,674,675],{},"invalid_content_type",[367,677,678,679],{},"Body is not ",[268,680,270],{},[343,682,683,685,690],{},[367,684,670],{},[367,686,687],{},[268,688,689],{},"missing_file",[367,691,692,693,695],{},"No ",[268,694,274],{}," field",[343,697,698,700,705],{},[367,699,670],{},[367,701,702],{},[268,703,704],{},"invalid_language",[367,706,707,708,475,710],{},"Missing ",[268,709,412],{},[268,711,712],{},"language=auto",[343,714,715,718,720],{},[367,716,717],{},"401",[367,719,380],{},[367,721,722],{},"Authentication failed",[343,724,725,728,733],{},[367,726,727],{},"502",[367,729,730],{},[268,731,732],{},"transcription_failed",[367,734,735],{},"All worker attempts failed",[309,737,740],{"className":738,"code":739,"language":474,"meta":317},[541],"{\n  \"error\": {\n    \"message\": \"Realtime transcription timed out after 800ms\",\n    \"type\": \"invalid_request_error\",\n    \"code\": \"transcription_failed\"\n  }\n}\n",[268,741,739],{"__ignoreMap":317},[241,743,745],{"id":744},"related","Related",[747,748,749,755,759,763],"ul",{},[750,751,752],"li",{},[301,753,754],{"href":159},"Client-VAD segments guide",[750,756,757],{},[301,758,503],{"href":186},[750,760,761],{},[301,762,25],{"href":26},[750,764,765],{},[301,766,193],{"href":194},{"title":317,"searchDepth":768,"depth":768,"links":769},2,[770,781],{"id":243,"depth":768,"text":244,"children":771},[772,774,775,776,777,778,779,780],{"id":248,"depth":773,"text":249},3,{"id":306,"depth":773,"text":307},{"id":320,"depth":773,"text":21},{"id":329,"depth":773,"text":330},{"id":519,"depth":773,"text":520},{"id":531,"depth":773,"text":532},{"id":589,"depth":773,"text":590},{"id":649,"depth":773,"text":193},{"id":744,"depth":768,"text":745},"Synchronous client-VAD speech segment transcription (multipart).","md",null,{"updated":786},"2026-11-08",true,"---\ntitle: Segment Transcription API\ndescription: Synchronous client-VAD speech segment transcription (multipart).\nupdated: 2026-11-08\n---\n\n## POST \u002Fv1\u002Faudio\u002Ftranscriptions\n\n### What it does\n\nUse the **Segment** path of **Lanson Live API** to transcribe a **single speech clip** synchronously. This endpoint accepts OpenAI-compatible `multipart\u002Fform-data` requests with a `file`.\n\n**Client responsibility:** you must segment speech with your own VAD before calling. Do not send continuous silence — the service does not filter silence, empty clips, or low-energy audio. Whatever you POST is transcribed and billed.\n\nTypical integrators: voice clients (e.g. Flow) that detect utterance boundaries locally and upload each clip as WAV.\n\n::callout{icon=\"i-lucide-info\" color=\"primary\"}\n**Billing:** this endpoint is metered by processed audio and billed at the **offline transcription** rate. See [API pricing](\u002Fdocs\u002Fstart\u002Fpricing).\n::\n\n### Endpoint\n\n```\nPOST \u002Fv1\u002Faudio\u002Ftranscriptions\n```\n\n### Authentication\n\n```\nAuthorization: Bearer sk-...\n```\n\n### Request\n\n`Content-Type: multipart\u002Fform-data`\n\n| Field | Type | Required | Default | Description |\n|---|---|---|---|---|\n| `file` | file | **yes** | — | Speech clip (WAV, MP3, etc.) |\n| `model` | string | no | — | Optional compatibility field; omit it. Clients that require a name can use `lanson-live-1`. It does not select an upstream model. |\n| `language` | string | **yes** | — | Explicit ISO-639-1 code (`zh`, `en`, …). `auto` is rejected. |\n| `prompt` | string | no | — | Recognition context hint |\n| `response_format` | string | no | `verbose_json` | `verbose_json`, `json`, or `text` |\n| `worker_id` | string | no | — | Pin to a specific worker ID |\n\n::callout{icon=\"i-lucide-triangle-alert\" color=\"amber\"}\nNot for long files or raw recordings\nUse [Batch Jobs](\u002Fdocs\u002Fapi-reference\u002Fbatch-jobs) (`POST \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs`) for `audio_url` async processing. Use [Realtime WS](\u002Fdocs\u002Fapi-reference\u002Frealtime-api) when the server should run VAD on a PCM stream.\n::\n\n### Example\n\n```bash\ncurl -X POST https:\u002F\u002Faudio.lansonai.com\u002Fv1\u002Faudio\u002Ftranscriptions \\\n  -H \"Authorization: Bearer sk-...\" \\\n  -F \"file=@utterance.wav\" \\\n  -F \"language=zh\" \\\n  -F \"response_format=verbose_json\"\n```\n\n### Response — 200 OK\n\n`verbose_json` (default):\n\n```json\n{\n  \"text\": \"你好世界\",\n  \"language\": \"zh\",\n  \"duration\": 1.2,\n  \"segments\": [],\n  \"words\": []\n}\n```\n\nResponse headers:\n\n| Header | Description |\n|---|---|\n| `X-Worker-Id` | Worker that produced the result |\n| `X-Fallback-Used` | `1` if a fallback worker was used, else `0` |\n\n### Latency and retries\n\n| Rule | Value |\n|---|---|\n| Per-attempt timeout | 800 ms |\n| Max POST attempts per request | 3 (attempt chain: pinned → preference chain → ultimate fallback) |\n| Server HTTP retry | **No** — failed requests return an error; client may resend |\n| Cold workers | Not POSTed on this request; health probe may run async; cloud fallback used for cold path |\n\nWall-clock budget is **≤2.4 s** (3 attempts × 800 ms).\n\n### Errors\n\n| Status | Code | Description |\n|---|---|---|\n| 400 | `invalid_content_type` | Body is not `multipart\u002Fform-data` |\n| 400 | `missing_file` | No `file` field |\n| 400 | `invalid_language` | Missing `language`, or `language=auto` |\n| 401 | — | Authentication failed |\n| 502 | `transcription_failed` | All worker attempts failed |\n\n```json\n{\n  \"error\": {\n    \"message\": \"Realtime transcription timed out after 800ms\",\n    \"type\": \"invalid_request_error\",\n    \"code\": \"transcription_failed\"\n  }\n}\n```\n\n## Related\n\n- [Client-VAD segments guide](\u002Fdocs\u002Fguides\u002Fclient-vad-segments)\n- [Batch Jobs](\u002Fdocs\u002Fapi-reference\u002Fbatch-jobs)\n- [Choose an API](\u002Fdocs\u002Fstart\u002Fchoose-an-api)\n- [Errors](\u002Fdocs\u002Fapi-reference\u002Ferrors)\n",{"title":181,"description":782},"p79571RFLxAXnpQXcBnkv-9Qld4mF5geoz98oJ4J6sU",[792,793],{"title":177,"path":178,"stem":179,"children":-1},{"title":185,"path":186,"stem":187,"children":-1},1795064386791]