[{"data":1,"prerenderedAt":883},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Frecorded\u002Ftranscribe-audio":235,"surround-\u002Fdocs\u002Frecorded\u002Ftranscribe-audio":880},[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":76,"body":237,"description":871,"extension":872,"links":873,"meta":874,"navigation":876,"new":18,"path":77,"rawbody":877,"seo":878,"stem":78,"technology":873,"__hash__":879},"content\u002Fdocs\u002F3.recorded\u002F2.transcribe-audio.md",{"type":238,"value":239,"toc":853},"minimark",[240,253,261,266,271,282,286,532,547,551,559,577,581,587,596,600,670,674,680,706,710,716,720,744,751,755,762,817,821,827,831],[241,242,243,244,248,249,252],"p",{},"Submit a ",[245,246,247],"strong",{},"Batch job"," through ",[245,250,251],{},"Lanson Live API"," from a public audio URL.",[241,254,255,256,260],{},"For client-VAD speech clips use ",[257,258,259],"a",{"href":182},"Segment Transcription"," instead.",[262,263,265],"h2",{"id":264},"submit-a-job","Submit a job",[267,268,270],"h3",{"id":269},"request","Request",[272,273,279],"pre",{"className":274,"code":276,"language":277,"meta":278},[275],"language-bash","curl -X POST https:\u002F\u002Faudio.lansonai.com\u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs \\\n  -H \"Authorization: Bearer sk-...\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"audio_url\": \"https:\u002F\u002Fcdn.example.com\u002Fmeeting.wav\",\n    \"language\": \"zh\",\n    \"prompt\": \"Medical cardiology conference\",\n    \"webhook_url\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n  }'\n","bash","",[280,281,276],"code",{"__ignoreMap":278},[267,283,285],{"id":284},"request-body","Request body",[287,288,289,311],"table",{},[290,291,292],"thead",{},[293,294,295,299,302,305,308],"tr",{},[296,297,298],"th",{},"Field",[296,300,301],{},"Type",[296,303,304],{},"Required",[296,306,307],{},"Default",[296,309,310],{},"Description",[312,313,314,339,357,381,401,417,435,454,471,487,515],"tbody",{},[293,315,316,322,325,330,333],{},[317,318,319],"td",{},[280,320,321],{},"audio_url",[317,323,324],{},"string",[317,326,327],{},[245,328,329],{},"yes",[317,331,332],{},"—",[317,334,335,336],{},"Public audio URL, must be ",[280,337,338],{},"http(s):\u002F\u002F",[293,340,341,346,348,351,354],{},[317,342,343],{},[280,344,345],{},"request_id",[317,347,324],{},[317,349,350],{},"no",[317,352,353],{},"random UUID",[317,355,356],{},"Idempotency key; same ID resumes from R2 checkpoint",[293,358,359,364,366,368,370],{},[317,360,361],{},[280,362,363],{},"language",[317,365,324],{},[317,367,350],{},[317,369,332],{},[317,371,372,373,376,377,380],{},"Language hint (e.g. ",[280,374,375],{},"zh",", ",[280,378,379],{},"en",")",[293,382,383,388,390,392,394],{},[317,384,385],{},[280,386,387],{},"model",[317,389,324],{},[317,391,350],{},[317,393,332],{},[317,395,396,397,400],{},"Optional compatibility field; omit it. Clients that require a name can use ",[280,398,399],{},"lanson-live-1",".",[293,402,403,408,410,412,414],{},[317,404,405],{},[280,406,407],{},"prompt",[317,409,324],{},[317,411,350],{},[317,413,332],{},[317,415,416],{},"Transcription context hint",[293,418,419,424,427,429,432],{},[317,420,421],{},[280,422,423],{},"segment_seconds",[317,425,426],{},"number",[317,428,350],{},[317,430,431],{},"300",[317,433,434],{},"Slice length in seconds, must be > 0",[293,436,437,442,444,446,451],{},[317,438,439],{},[280,440,441],{},"response_format",[317,443,324],{},[317,445,350],{},[317,447,448],{},[280,449,450],{},"verbose_json",[317,452,453],{},"Response format",[293,455,456,461,463,465,468],{},[317,457,458],{},[280,459,460],{},"concurrency",[317,462,426],{},[317,464,350],{},[317,466,467],{},"6",[317,469,470],{},"Concurrent chunk transcription, must be > 0",[293,472,473,478,480,482,484],{},[317,474,475],{},[280,476,477],{},"webhook_url",[317,479,324],{},[317,481,350],{},[317,483,332],{},[317,485,486],{},"POST final result to this URL on completion",[293,488,489,494,497,499,508],{},[317,490,491],{},[280,492,493],{},"review",[317,495,496],{},"boolean",[317,498,350],{},[317,500,501,504,505,380],{},[280,502,503],{},"true"," (",[245,506,507],{},"omitted = on",[317,509,510,511,514],{},"LLM correction of the transcript; set ",[280,512,513],{},"false"," to opt out",[293,516,517,522,525,527,529],{},[317,518,519],{},[280,520,521],{},"metadata",[317,523,524],{},"object",[317,526,350],{},[317,528,332],{},[317,530,531],{},"Context forwarded to review stages",[533,534,536],"callout",{"icon":535},"i-lucide-info",[241,537,538,540,541,543,544,546],{},[280,539,441],{}," defaults to ",[280,542,450],{}," in the OpenAPI schema, but the workflow currently hardcodes ",[280,545,450],{}," for every chunk transcription. Setting this field has no effect today.",[267,548,550],{"id":549},"response-202-accepted","Response — 202 Accepted",[272,552,557],{"className":553,"code":555,"language":556,"meta":278},[554],"language-json","{\n  \"request_id\": \"...\",\n  \"workflow_id\": \"local55190d1a608984daf77cbfca6b7b5438\",\n  \"status\": \"queued\",\n  \"endpoint\": \"GET \u002Flocal...\",\n  \"poll_endpoint\": \"GET \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs\u002Flocal...\"\n}\n","json",[280,558,555],{"__ignoreMap":278},[241,560,561,564,565,568,569,572,573,576],{},[280,562,563],{},"workflow_id"," is an opaque job id. On the production endpoint it is ",[280,566,567],{},"local"," + 32 hex (local-runner id); on the Cloudflare Worker deployment it is ",[280,570,571],{},"cf_"," + 64 hex. It is ",[245,574,575],{},"not"," a UUID.",[262,578,580],{"id":579},"poll-for-results","Poll for results",[272,582,585],{"className":583,"code":584,"language":277,"meta":278},[275],"curl https:\u002F\u002Faudio.lansonai.com\u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs\u002F\u003Cworkflow_id> \\\n  -H \"Authorization: Bearer sk-...\"\n",[280,586,584],{"__ignoreMap":278},[241,588,589,590,376,593],{},"Legacy aliases: ",[280,591,592],{},"GET \u002F\u003Cworkflow_id>",[280,594,595],{},"GET \u002Fv1\u002Faudio\u002Ftranscriptions\u002F\u003Cworkflow_id>",[267,597,599],{"id":598},"status-values","Status values",[287,601,602,612],{},[290,603,604],{},[293,605,606,609],{},[296,607,608],{},"Status",[296,610,611],{},"Meaning",[312,613,614,624,634,647,660],{},[293,615,616,621],{},[317,617,618],{},[280,619,620],{},"queued",[317,622,623],{},"Waiting to start",[293,625,626,631],{},[317,627,628],{},[280,629,630],{},"running",[317,632,633],{},"Processing",[293,635,636,641],{},[317,637,638],{},[280,639,640],{},"complete",[317,642,643,644,380],{},"Done (result in ",[280,645,646],{},"output",[293,648,649,654],{},[317,650,651],{},[280,652,653],{},"errored",[317,655,656,657,380],{},"Failed (error in ",[280,658,659],{},"error",[293,661,662,667],{},[317,663,664],{},[280,665,666],{},"terminated",[317,668,669],{},"Terminated",[267,671,673],{"id":672},"complete-output","Complete output",[272,675,678],{"className":676,"code":677,"language":556,"meta":278},[554],"{\n  \"status\": \"complete\",\n  \"output\": {\n    \"result\": {\n      \"segments\": [\n        { \"id\": 0, \"start_time\": 0.0, \"end_time\": 3.2, \"duration\": 3.2, \"text\": \"The weather is nice today\", \"confidence\": 0.95, \"timing\": \"estimated\" }\n      ],\n      \"summary\": {\n        \"total_duration\": 120.5,\n        \"total_speech_duration\": 95.3,\n        \"overall_speech_ratio\": 0.79,\n        \"num_segments\": 45\n      },\n      \"metadata\": {\n        \"language\": \"zh\",\n        \"chunk_count\": 3,\n        \"audio_duration_seconds\": 120.5\n      }\n    }\n  }\n}\n",[280,679,677],{"__ignoreMap":278},[533,681,682],{"icon":535},[241,683,684,687,688,691,692,687,695,698,699,702,703,400],{},[280,685,686],{},"confidence"," is ",[280,689,690],{},"0"," when the upstream does not provide a confidence value. ",[280,693,694],{},"timing",[280,696,697],{},"\"estimated\""," for the production batch path. When review is on, the response also contains ",[280,700,701],{},"result.raw_segments"," and ",[280,704,705],{},"result.metadata.correction",[262,707,709],{"id":708},"webhook","Webhook",[241,711,712,713,715],{},"Set ",[280,714,477],{}," to receive the final result via HTTP POST when the job completes.",[262,717,719],{"id":718},"llm-review","LLM review",[241,721,722,723,726,727,729,730,733,734,736,737,739,740,743],{},"Review is ",[245,724,725],{},"on by default"," on the production endpoint. When ",[280,728,493],{}," is omitted, the job runs the ",[280,731,732],{},"correct"," step and returns ",[280,735,705],{}," plus the uncorrected lines in ",[280,738,701],{},". Set ",[280,741,742],{},"review: false"," to opt out and get the raw transcript only.",[241,745,746,747,750],{},"The OpenAPI schema is the source of truth for this flag: ",[748,749,507],"em",{}," where correction is configured.",[262,752,754],{"id":753},"r2-artifacts","R2 artifacts",[241,756,757,758,761],{},"Results are stored in R2 under ",[280,759,760],{},"transcription\u002F{request_id}\u002F",":",[287,763,764,774],{},[290,765,766],{},[293,767,768,771],{},[296,769,770],{},"Artifact",[296,772,773],{},"Key",[312,775,776,786,796,807],{},[293,777,778,781],{},[317,779,780],{},"Per-chunk transcription",[317,782,783],{},[280,784,785],{},"chunk_{i}.json",[293,787,788,791],{},[317,789,790],{},"Raw aggregated transcript",[317,792,793],{},[280,794,795],{},"result.json",[293,797,798,801],{},[317,799,800],{},"Per-chunk review annotations",[317,802,803,806],{},[280,804,805],{},"review_chunk_{i}.json"," (when review is on — the default)",[293,808,809,812],{},[317,810,811],{},"Final corrected transcript",[317,813,814,806],{},[280,815,816],{},"reviewed_result.json",[262,818,820],{"id":819},"idempotency","Idempotency",[241,822,823,824,826],{},"Provide ",[280,825,345],{}," for idempotency — already-transcribed chunks are skipped on retry.",[262,828,830],{"id":829},"related","Related",[832,833,834,840,844,848],"ul",{},[835,836,837],"li",{},[257,838,839],{"href":186},"Batch Jobs API",[835,841,842],{},[257,843,259],{"href":182},[835,845,846],{},[257,847,80],{"href":81},[835,849,850],{},[257,851,852],{"href":89},"Translation",{"title":278,"searchDepth":854,"depth":854,"links":855},2,[856,862,866,867,868,869,870],{"id":264,"depth":854,"text":265,"children":857},[858,860,861],{"id":269,"depth":859,"text":270},3,{"id":284,"depth":859,"text":285},{"id":549,"depth":859,"text":550},{"id":579,"depth":854,"text":580,"children":863},[864,865],{"id":598,"depth":859,"text":599},{"id":672,"depth":859,"text":673},{"id":708,"depth":854,"text":709},{"id":718,"depth":854,"text":719},{"id":753,"depth":854,"text":754},{"id":819,"depth":854,"text":820},{"id":829,"depth":854,"text":830},"Submit an audio URL for batch transcription.","md",null,{"updated":875},"2026-11-08",true,"---\ntitle: Transcribe Audio\ndescription: Submit an audio URL for batch transcription.\nupdated: 2026-11-08\n---\nSubmit a **Batch job** through **Lanson Live API** from a public audio URL.\n\nFor client-VAD speech clips use [Segment Transcription](\u002Fdocs\u002Fapi-reference\u002Fsegment-transcription) instead.\n\n## Submit a job\n\n### Request\n\n```bash\ncurl -X POST https:\u002F\u002Faudio.lansonai.com\u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs \\\n  -H \"Authorization: Bearer sk-...\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"audio_url\": \"https:\u002F\u002Fcdn.example.com\u002Fmeeting.wav\",\n    \"language\": \"zh\",\n    \"prompt\": \"Medical cardiology conference\",\n    \"webhook_url\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n  }'\n```\n\n### Request body\n\n| Field | Type | Required | Default | Description |\n|---|---|---|---|---|\n| `audio_url` | string | **yes** | — | Public audio URL, must be `http(s):\u002F\u002F` |\n| `request_id` | string | no | random UUID | Idempotency key; same ID resumes from R2 checkpoint |\n| `language` | string | no | — | Language hint (e.g. `zh`, `en`) |\n| `model` | string | no | — | Optional compatibility field; omit it. Clients that require a name can use `lanson-live-1`. |\n| `prompt` | string | no | — | Transcription context hint |\n| `segment_seconds` | number | no | 300 | Slice length in seconds, must be > 0 |\n| `response_format` | string | no | `verbose_json` | Response format |\n| `concurrency` | number | no | 6 | Concurrent chunk transcription, must be > 0 |\n| `webhook_url` | string | no | — | POST final result to this URL on completion |\n| `review` | boolean | no | `true` (**omitted = on**) | LLM correction of the transcript; set `false` to opt out |\n| `metadata` | object | no | — | Context forwarded to review stages |\n\n::callout{icon=\"i-lucide-info\"}\n`response_format` defaults to `verbose_json` in the OpenAPI schema, but the workflow currently hardcodes `verbose_json` for every chunk transcription. Setting this field has no effect today.\n::\n\n### Response — 202 Accepted\n\n```json\n{\n  \"request_id\": \"...\",\n  \"workflow_id\": \"local55190d1a608984daf77cbfca6b7b5438\",\n  \"status\": \"queued\",\n  \"endpoint\": \"GET \u002Flocal...\",\n  \"poll_endpoint\": \"GET \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs\u002Flocal...\"\n}\n```\n\n`workflow_id` is an opaque job id. On the production endpoint it is `local` + 32 hex (local-runner id); on the Cloudflare Worker deployment it is `cf_` + 64 hex. It is **not** a UUID.\n\n## Poll for results\n\n```bash\ncurl https:\u002F\u002Faudio.lansonai.com\u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs\u002F\u003Cworkflow_id> \\\n  -H \"Authorization: Bearer sk-...\"\n```\n\nLegacy aliases: `GET \u002F\u003Cworkflow_id>`, `GET \u002Fv1\u002Faudio\u002Ftranscriptions\u002F\u003Cworkflow_id>`\n\n### Status values\n\n| Status | Meaning |\n|---|---|\n| `queued` | Waiting to start |\n| `running` | Processing |\n| `complete` | Done (result in `output`) |\n| `errored` | Failed (error in `error`) |\n| `terminated` | Terminated |\n\n### Complete output\n\n```json\n{\n  \"status\": \"complete\",\n  \"output\": {\n    \"result\": {\n      \"segments\": [\n        { \"id\": 0, \"start_time\": 0.0, \"end_time\": 3.2, \"duration\": 3.2, \"text\": \"The weather is nice today\", \"confidence\": 0.95, \"timing\": \"estimated\" }\n      ],\n      \"summary\": {\n        \"total_duration\": 120.5,\n        \"total_speech_duration\": 95.3,\n        \"overall_speech_ratio\": 0.79,\n        \"num_segments\": 45\n      },\n      \"metadata\": {\n        \"language\": \"zh\",\n        \"chunk_count\": 3,\n        \"audio_duration_seconds\": 120.5\n      }\n    }\n  }\n}\n```\n\n::callout{icon=\"i-lucide-info\"}\n`confidence` is `0` when the upstream does not provide a confidence value. `timing` is `\"estimated\"` for the production batch path. When review is on, the response also contains `result.raw_segments` and `result.metadata.correction`.\n::\n\n## Webhook\n\nSet `webhook_url` to receive the final result via HTTP POST when the job completes.\n\n## LLM review\n\nReview is **on by default** on the production endpoint. When `review` is omitted, the job runs the `correct` step and returns `result.metadata.correction` plus the uncorrected lines in `result.raw_segments`. Set `review: false` to opt out and get the raw transcript only.\n\nThe OpenAPI schema is the source of truth for this flag: *omitted = on* where correction is configured.\n\n## R2 artifacts\n\nResults are stored in R2 under `transcription\u002F{request_id}\u002F`:\n\n| Artifact | Key |\n|---|---|\n| Per-chunk transcription | `chunk_{i}.json` |\n| Raw aggregated transcript | `result.json` |\n| Per-chunk review annotations | `review_chunk_{i}.json` (when review is on — the default) |\n| Final corrected transcript | `reviewed_result.json` (when review is on — the default) |\n\n## Idempotency\n\nProvide `request_id` for idempotency — already-transcribed chunks are skipped on retry.\n\n## Related\n\n- [Batch Jobs API](\u002Fdocs\u002Fapi-reference\u002Fbatch-jobs)\n- [Segment Transcription](\u002Fdocs\u002Fapi-reference\u002Fsegment-transcription)\n- [Timestamps & Speakers](\u002Fdocs\u002Frecorded\u002Ftimestamps-speakers)\n- [Translation](\u002Fdocs\u002Frecorded\u002Ftranslation)\n",{"title":76,"description":871},"BylT2FwP9-BIDpHkNBFoSVCqzrQIBxfMxvo68uq1jtk",[881,882],{"title":74,"path":70,"stem":71,"children":-1},{"title":80,"path":81,"stem":82,"children":-1},1795064385054]