[{"data":1,"prerenderedAt":1058},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Fapi-reference\u002Fbatch-jobs":235,"surround-\u002Fdocs\u002Fapi-reference\u002Fbatch-jobs":1055},[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":185,"body":237,"description":1046,"extension":1047,"links":1048,"meta":1049,"navigation":1051,"new":18,"path":186,"rawbody":1052,"seo":1053,"stem":187,"technology":1048,"__hash__":1054},"content\u002Fdocs\u002F6.api-reference\u002F6.batch-jobs.md",{"type":238,"value":239,"toc":1023},"minimark",[240,245,250,267,280,299,303,313,330,333,339,343,351,641,667,671,677,694,697,728,731,735,738,745,748,754,763,767,773,777,866,870,876,905,909,916,971,975,981,985,995,999],[241,242,244],"h2",{"id":243},"post-v1audiotranscriptionsjobs","POST \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs",[246,247,249],"h3",{"id":248},"what-it-does","What it does",[251,252,253,254,258,259,262,263,266],"p",{},"Use the ",[255,256,257],"strong",{},"Batch"," path of ",[255,260,261],{},"Lanson Live API"," to submit an ",[255,264,265],{},"audio URL"," for asynchronous processing. The service fetches the file, slices it by time, processes chunks concurrently, aggregates results, and optionally posts to a webhook.",[251,268,269,270,274,275,279],{},"For synchronous client-VAD clips use ",[271,272,273],"a",{"href":182},"Segment Transcription"," (",[276,277,278],"code",{},"POST \u002Fv1\u002Faudio\u002Ftranscriptions"," with multipart).",[281,282,285],"callout",{"icon":283,"color":284},"i-lucide-info","primary",[251,286,287,290,291,294,295,298],{},[255,288,289],{},"Billing:"," batch jobs are metered by processed audio and billed at the ",[255,292,293],{},"offline transcription"," rate. See ",[271,296,297],{"href":30},"API pricing",".",[246,300,302],{"id":301},"endpoint","Endpoint",[304,305,310],"pre",{"className":306,"code":308,"language":309},[307],"language-text","POST \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs\n","text",[276,311,308],{"__ignoreMap":312},"",[251,314,315,318,319,321,322,325,326,329],{},[276,316,317],{},"POST \u002F"," and ",[276,320,278],{}," with JSON still work but are ",[255,323,324],{},"deprecated"," (return ",[276,327,328],{},"Deprecation: true",").",[246,331,21],{"id":332},"authentication",[304,334,337],{"className":335,"code":336,"language":309},[307],"Authorization: Bearer sk-...\n",[276,338,336],{"__ignoreMap":312},[246,340,342],{"id":341},"request-body","Request body",[304,344,349],{"className":345,"code":347,"language":348,"meta":312},[346],"language-json","{\n  \"audio_url\": \"https:\u002F\u002Fcdn.example.com\u002Faudio\u002Fmeeting.wav\",\n  \"language\": \"zh\",\n  \"prompt\": \"Medical cardiology conference\",\n  \"review\": true,\n  \"metadata\": { \"medical_specialty\": \"cardiology\" },\n  \"webhook_url\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n","json",[276,350,347],{"__ignoreMap":312},[352,353,354,376],"table",{},[355,356,357],"thead",{},[358,359,360,364,367,370,373],"tr",{},[361,362,363],"th",{},"Field",[361,365,366],{},"Type",[361,368,369],{},"Required",[361,371,372],{},"Default",[361,374,375],{},"Description",[377,378,379,404,426,449,469,485,503,522,539,555,583,602,624],"tbody",{},[358,380,381,387,390,395,398],{},[382,383,384],"td",{},[276,385,386],{},"audio_url",[382,388,389],{},"string",[382,391,392],{},[255,393,394],{},"yes",[382,396,397],{},"—",[382,399,400,401,298],{},"Public URL of the audio file. Must be ",[276,402,403],{},"http(s):\u002F\u002F",[358,405,406,411,413,416,419],{},[382,407,408],{},[276,409,410],{},"request_id",[382,412,389],{},[382,414,415],{},"no",[382,417,418],{},"random UUID",[382,420,421,422,425],{},"Idempotency key. Re-submitting with the same ID starts a new job (a new ",[276,423,424],{},"workflow_id",") and may reuse completed chunks from the R2 checkpoint.",[358,427,428,433,435,437,439],{},[382,429,430],{},[276,431,432],{},"language",[382,434,389],{},[382,436,415],{},[382,438,397],{},[382,440,441,442,445,446,329],{},"Audio language hint (e.g. ",[276,443,444],{},"zh",", ",[276,447,448],{},"en",[358,450,451,456,458,460,462],{},[382,452,453],{},[276,454,455],{},"model",[382,457,389],{},[382,459,415],{},[382,461,397],{},[382,463,464,465,468],{},"Optional compatibility field; omit it. Clients that require a name can use ",[276,466,467],{},"lanson-live-1",". It does not select an upstream model.",[358,470,471,476,478,480,482],{},[382,472,473],{},[276,474,475],{},"prompt",[382,477,389],{},[382,479,415],{},[382,481,397],{},[382,483,484],{},"Transcription context hint.",[358,486,487,492,495,497,500],{},[382,488,489],{},[276,490,491],{},"segment_seconds",[382,493,494],{},"number",[382,496,415],{},[382,498,499],{},"300",[382,501,502],{},"Target slice length in seconds. Must be > 0.",[358,504,505,510,512,514,519],{},[382,506,507],{},[276,508,509],{},"response_format",[382,511,389],{},[382,513,415],{},[382,515,516],{},[276,517,518],{},"verbose_json",[382,520,521],{},"Response format (workflow hardcodes verbose_json per chunk today).",[358,523,524,529,531,533,536],{},[382,525,526],{},[276,527,528],{},"concurrency",[382,530,494],{},[382,532,415],{},[382,534,535],{},"6",[382,537,538],{},"Concurrent transcription of chunks. Must be > 0.",[358,540,541,546,548,550,552],{},[382,542,543],{},[276,544,545],{},"webhook_url",[382,547,389],{},[382,549,415],{},[382,551,397],{},[382,553,554],{},"POSTed the full result (raw + reviewed) when the job completes.",[358,556,557,562,565,567,576],{},[382,558,559],{},[276,560,561],{},"review",[382,563,564],{},"boolean",[382,566,415],{},[382,568,569,274,572,575],{},[276,570,571],{},"true",[255,573,574],{},"omitted = on",")",[382,577,578,579,582],{},"LLM correction pipeline; set ",[276,580,581],{},"false"," to opt out.",[358,584,585,590,595,597,599],{},[382,586,587],{},[276,588,589],{},"target_languages",[382,591,389,592],{},[593,594],"span",{},[382,596,415],{},[382,598,397],{},[382,600,601],{},"Translation targets (BCP-47, max 8). Frozen at job creation; each language is billed separately.",[358,603,604,609,611,613,615],{},[382,605,606],{},[276,607,608],{},"translate_to",[382,610,389],{},[382,612,415],{},[382,614,397],{},[382,616,617,618,620,621,623],{},"Single-language shorthand for ",[276,619,589],{},". Ignored when ",[276,622,589],{}," is present.",[358,625,626,631,634,636,638],{},[382,627,628],{},[276,629,630],{},"metadata",[382,632,633],{},"object",[382,635,415],{},[382,637,397],{},[382,639,640],{},"Contextual metadata forwarded to review stages.",[281,642,643],{"icon":283},[251,644,645,647,648,651,652,655,656,318,659,662,663,666],{},[276,646,561],{}," is ",[255,649,650],{},"on by default",". Omit it to run correction (the job includes a ",[276,653,654],{},"correct"," step and returns ",[276,657,658],{},"result.metadata.correction",[276,660,661],{},"result.raw_segments","); set ",[276,664,665],{},"review: false"," to receive the raw transcript only.",[246,668,670],{"id":669},"response-202-accepted","Response — 202 Accepted",[304,672,675],{"className":673,"code":674,"language":348,"meta":312},[346],"{\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",[276,676,674],{"__ignoreMap":312},[251,678,679,681,682,685,686,689,690,693],{},[276,680,424],{}," is an opaque job id. On the production endpoint it is ",[276,683,684],{},"local"," + 32 hex (local-runner id); on the Cloudflare Worker deployment it is ",[276,687,688],{},"cf_"," + 64 hex. It is ",[255,691,692],{},"not"," a UUID.",[246,695,193],{"id":696},"errors",[352,698,699,708],{},[355,700,701],{},[358,702,703,706],{},[361,704,705],{},"Status",[361,707,375],{},[377,709,710,720],{},[358,711,712,715],{},[382,713,714],{},"400",[382,716,717,718],{},"Non-JSON body or invalid\u002Fmissing ",[276,719,386],{},[358,721,722,725],{},[382,723,724],{},"401",[382,726,727],{},"Authentication failed",[729,730],"hr",{},[241,732,734],{"id":733},"get-v1audiotranscriptionsjobsworkflowid","GET \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs\u002F{workflowId}",[246,736,249],{"id":737},"what-it-does-1",[251,739,740,741,744],{},"Poll batch job status and result (",[255,742,743],{},"preferred"," path).",[246,746,302],{"id":747},"endpoint-1",[304,749,752],{"className":750,"code":751,"language":309},[307],"GET \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs\u002F{workflowId}\n",[276,753,751],{"__ignoreMap":312},[251,755,756,757,445,760],{},"Aliases: ",[276,758,759],{},"GET \u002Fv1\u002Faudio\u002Ftranscriptions\u002F{workflowId}",[276,761,762],{},"GET \u002F{workflowId}",[246,764,766],{"id":765},"response","Response",[304,768,771],{"className":769,"code":770,"language":348,"meta":312},[346],"{\n  \"workflow_id\": \"local...\",\n  \"status\": \"complete\",\n  \"steps\": [ ... ],\n  \"output\": { ... },\n  \"error\": null\n}\n",[276,772,770],{"__ignoreMap":312},[246,774,776],{"id":775},"status-values","Status values",[352,778,779,788],{},[355,780,781],{},[358,782,783,785],{},[361,784,705],{},[361,786,787],{},"Meaning",[377,789,790,800,810,823,836,846,856],{},[358,791,792,797],{},[382,793,794],{},[276,795,796],{},"queued",[382,798,799],{},"Waiting to start",[358,801,802,807],{},[382,803,804],{},[276,805,806],{},"running",[382,808,809],{},"Processing",[358,811,812,817],{},[382,813,814],{},[276,815,816],{},"complete",[382,818,819,820,575],{},"Done (result in ",[276,821,822],{},"output",[358,824,825,830],{},[382,826,827],{},[276,828,829],{},"errored",[382,831,832,833,575],{},"Failed (error in ",[276,834,835],{},"error",[358,837,838,843],{},[382,839,840],{},[276,841,842],{},"terminated",[382,844,845],{},"Terminated",[358,847,848,853],{},[382,849,850],{},[276,851,852],{},"paused",[382,854,855],{},"Paused",[358,857,858,863],{},[382,859,860],{},[276,861,862],{},"waiting",[382,864,865],{},"Waiting",[246,867,869],{"id":868},"complete-output-structure","Complete output structure",[304,871,874],{"className":872,"code":873,"language":348,"meta":312},[346],"{\n  \"result\": {\n    \"segments\": [\n      {\n        \"id\": 0,\n        \"start_time\": 0.0,\n        \"end_time\": 3.2,\n        \"duration\": 3.2,\n        \"text\": \"The weather is nice today\",\n        \"confidence\": 0.95,\n        \"timing\": \"estimated\"\n      }\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      \"translation\": {\n        \"target_languages\": [\"en\"],\n        \"model\": \"deepseek\u002Fdeepseek-v4.1-flash-1017\",\n        \"failed_batches\": 0,\n        \"usage\": { \"calls\": 1, \"prompt_tokens\": 120, \"completion_tokens\": 24, \"total_tokens\": 144 }\n      },\n      \"llm_usage\": {\n        \"calls\": 2,\n        \"prompt_tokens\": 220,\n        \"completion_tokens\": 44,\n        \"total_tokens\": 264,\n        \"by_stage\": {\n          \"refinement\": { \"calls\": 1, \"prompt_tokens\": 100, \"completion_tokens\": 20, \"total_tokens\": 120 },\n          \"translation\": { \"calls\": 1, \"prompt_tokens\": 120, \"completion_tokens\": 24, \"total_tokens\": 144 }\n        }\n      }\n    },\n    \"translations\": [\n      {\n        \"language\": \"en\",\n        \"text\": \"The weather is nice today.\",\n        \"segments\": [\n          { \"id\": 0, \"start_time\": 0.0, \"end_time\": 3.2, \"duration\": 3.2, \"text\": \"The weather is nice today.\", \"source_text\": \"今天天气很好\" }\n        ],\n        \"failed_batches\": 0\n      }\n    ]\n  }\n}\n",[276,875,873],{"__ignoreMap":312},[251,877,878,647,881,884,885,888,889,318,891,893,894,896,897,900,901,904],{},[276,879,880],{},"confidence",[276,882,883],{},"0"," when the upstream does not provide a value. The production batch path returns ",[276,886,887],{},"timing: \"estimated\"",". With review on, the job also returns ",[276,890,661],{},[276,892,658],{},". With ",[276,895,589],{}," set, the job returns ",[276,898,899],{},"result.translations"," (one track per language) and ",[276,902,903],{},"result.metadata.translation"," (model, token usage, failed batches).",[241,906,908],{"id":907},"r2-artifacts","R2 artifacts",[251,910,911,912,915],{},"Result artifacts are stored in R2 under ",[276,913,914],{},"transcription\u002F{request_id}\u002F",":",[352,917,918,928],{},[355,919,920],{},[358,921,922,925],{},[361,923,924],{},"Artifact",[361,926,927],{},"R2 key",[377,929,930,940,950,961],{},[358,931,932,935],{},[382,933,934],{},"Per-chunk transcription",[382,936,937],{},[276,938,939],{},"chunk_{i}.json",[358,941,942,945],{},[382,943,944],{},"Raw aggregated transcript",[382,946,947],{},[276,948,949],{},"result.json",[358,951,952,955],{},[382,953,954],{},"Per-chunk review annotations",[382,956,957,960],{},[276,958,959],{},"review_chunk_{i}.json"," (when review is on — the default)",[358,962,963,966],{},[382,964,965],{},"Final corrected transcript",[382,967,968,960],{},[276,969,970],{},"reviewed_result.json",[241,972,974],{"id":973},"webhook","Webhook",[251,976,977,978,980],{},"Set ",[276,979,545],{}," to receive the final result via HTTP POST when the job completes.",[241,982,984],{"id":983},"openapi","OpenAPI",[251,986,987,988,991,992,298],{},"Full OpenAPI specification at ",[276,989,990],{},"GET \u002Fopenapi.json",". Swagger UI at ",[276,993,994],{},"GET \u002Fdocs",[241,996,998],{"id":997},"related","Related",[1000,1001,1002,1008,1013,1018],"ul",{},[1003,1004,1005,1007],"li",{},[271,1006,76],{"href":77}," — usage guide",[1003,1009,1010,1012],{},[271,1011,273],{"href":182}," — sync client-VAD clips",[1003,1014,1015,1017],{},[271,1016,80],{"href":81}," — timestamp details",[1003,1019,1020,1022],{},[271,1021,193],{"href":194}," — error codes",{"title":312,"searchDepth":1024,"depth":1024,"links":1025},2,[1026,1035,1042,1043,1044,1045],{"id":243,"depth":1024,"text":244,"children":1027},[1028,1030,1031,1032,1033,1034],{"id":248,"depth":1029,"text":249},3,{"id":301,"depth":1029,"text":302},{"id":332,"depth":1029,"text":21},{"id":341,"depth":1029,"text":342},{"id":669,"depth":1029,"text":670},{"id":696,"depth":1029,"text":193},{"id":733,"depth":1024,"text":734,"children":1036},[1037,1038,1039,1040,1041],{"id":737,"depth":1029,"text":249},{"id":747,"depth":1029,"text":302},{"id":765,"depth":1029,"text":766},{"id":775,"depth":1029,"text":776},{"id":868,"depth":1029,"text":869},{"id":907,"depth":1024,"text":908},{"id":973,"depth":1024,"text":974},{"id":983,"depth":1024,"text":984},{"id":997,"depth":1024,"text":998},"Asynchronous batch transcription from audio_url.","md",null,{"updated":1050},"2026-11-08",true,"---\ntitle: Batch Transcription Jobs\ndescription: Asynchronous batch transcription from audio_url.\nupdated: 2026-11-08\n---\n\n## POST \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs\n\n### What it does\n\nUse the **Batch** path of **Lanson Live API** to submit an **audio URL** for asynchronous processing. The service fetches the file, slices it by time, processes chunks concurrently, aggregates results, and optionally posts to a webhook.\n\nFor synchronous client-VAD clips use [Segment Transcription](\u002Fdocs\u002Fapi-reference\u002Fsegment-transcription) (`POST \u002Fv1\u002Faudio\u002Ftranscriptions` with multipart).\n\n::callout{icon=\"i-lucide-info\" color=\"primary\"}\n**Billing:** batch jobs are 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\u002Fjobs\n```\n\n`POST \u002F` and `POST \u002Fv1\u002Faudio\u002Ftranscriptions` with JSON still work but are **deprecated** (return `Deprecation: true`).\n\n### Authentication\n\n```\nAuthorization: Bearer sk-...\n```\n\n### Request body\n\n```json\n{\n  \"audio_url\": \"https:\u002F\u002Fcdn.example.com\u002Faudio\u002Fmeeting.wav\",\n  \"language\": \"zh\",\n  \"prompt\": \"Medical cardiology conference\",\n  \"review\": true,\n  \"metadata\": { \"medical_specialty\": \"cardiology\" },\n  \"webhook_url\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n| Field | Type | Required | Default | Description |\n|---|---|---|---|---|\n| `audio_url` | string | **yes** | — | Public URL of the audio file. Must be `http(s):\u002F\u002F`. |\n| `request_id` | string | no | random UUID | Idempotency key. Re-submitting with the same ID starts a new job (a new `workflow_id`) and may reuse completed chunks from the R2 checkpoint. |\n| `language` | string | no | — | Audio 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`. It does not select an upstream model. |\n| `prompt` | string | no | — | Transcription context hint. |\n| `segment_seconds` | number | no | 300 | Target slice length in seconds. Must be > 0. |\n| `response_format` | string | no | `verbose_json` | Response format (workflow hardcodes verbose_json per chunk today). |\n| `concurrency` | number | no | 6 | Concurrent transcription of chunks. Must be > 0. |\n| `webhook_url` | string | no | — | POSTed the full result (raw + reviewed) when the job completes. |\n| `review` | boolean | no | `true` (**omitted = on**) | LLM correction pipeline; set `false` to opt out. |\n| `target_languages` | string[] | no | — | Translation targets (BCP-47, max 8). Frozen at job creation; each language is billed separately. |\n| `translate_to` | string | no | — | Single-language shorthand for `target_languages`. Ignored when `target_languages` is present. |\n| `metadata` | object | no | — | Contextual metadata forwarded to review stages. |\n\n::callout{icon=\"i-lucide-info\"}\n`review` is **on by default**. Omit it to run correction (the job includes a `correct` step and returns `result.metadata.correction` and `result.raw_segments`); set `review: false` to receive the raw transcript only.\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### Errors\n\n| Status | Description |\n|---|---|\n| 400 | Non-JSON body or invalid\u002Fmissing `audio_url` |\n| 401 | Authentication failed |\n\n---\n\n## GET \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs\u002F{workflowId}\n\n### What it does\n\nPoll batch job status and result (**preferred** path).\n\n### Endpoint\n\n```\nGET \u002Fv1\u002Faudio\u002Ftranscriptions\u002Fjobs\u002F{workflowId}\n```\n\nAliases: `GET \u002Fv1\u002Faudio\u002Ftranscriptions\u002F{workflowId}`, `GET \u002F{workflowId}`\n\n### Response\n\n```json\n{\n  \"workflow_id\": \"local...\",\n  \"status\": \"complete\",\n  \"steps\": [ ... ],\n  \"output\": { ... },\n  \"error\": null\n}\n```\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| `paused` | Paused |\n| `waiting` | Waiting |\n\n### Complete output structure\n\n```json\n{\n  \"result\": {\n    \"segments\": [\n      {\n        \"id\": 0,\n        \"start_time\": 0.0,\n        \"end_time\": 3.2,\n        \"duration\": 3.2,\n        \"text\": \"The weather is nice today\",\n        \"confidence\": 0.95,\n        \"timing\": \"estimated\"\n      }\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      \"translation\": {\n        \"target_languages\": [\"en\"],\n        \"model\": \"deepseek\u002Fdeepseek-v4.1-flash-1017\",\n        \"failed_batches\": 0,\n        \"usage\": { \"calls\": 1, \"prompt_tokens\": 120, \"completion_tokens\": 24, \"total_tokens\": 144 }\n      },\n      \"llm_usage\": {\n        \"calls\": 2,\n        \"prompt_tokens\": 220,\n        \"completion_tokens\": 44,\n        \"total_tokens\": 264,\n        \"by_stage\": {\n          \"refinement\": { \"calls\": 1, \"prompt_tokens\": 100, \"completion_tokens\": 20, \"total_tokens\": 120 },\n          \"translation\": { \"calls\": 1, \"prompt_tokens\": 120, \"completion_tokens\": 24, \"total_tokens\": 144 }\n        }\n      }\n    },\n    \"translations\": [\n      {\n        \"language\": \"en\",\n        \"text\": \"The weather is nice today.\",\n        \"segments\": [\n          { \"id\": 0, \"start_time\": 0.0, \"end_time\": 3.2, \"duration\": 3.2, \"text\": \"The weather is nice today.\", \"source_text\": \"今天天气很好\" }\n        ],\n        \"failed_batches\": 0\n      }\n    ]\n  }\n}\n```\n\n`confidence` is `0` when the upstream does not provide a value. The production batch path returns `timing: \"estimated\"`. With review on, the job also returns `result.raw_segments` and `result.metadata.correction`. With `target_languages` set, the job returns `result.translations` (one track per language) and `result.metadata.translation` (model, token usage, failed batches).\n\n## R2 artifacts\n\nResult artifacts are stored in R2 under `transcription\u002F{request_id}\u002F`:\n\n| Artifact | R2 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## Webhook\n\nSet `webhook_url` to receive the final result via HTTP POST when the job completes.\n\n## OpenAPI\n\nFull OpenAPI specification at `GET \u002Fopenapi.json`. Swagger UI at `GET \u002Fdocs`.\n\n## Related\n\n- [Transcribe Audio](\u002Fdocs\u002Frecorded\u002Ftranscribe-audio) — usage guide\n- [Segment Transcription](\u002Fdocs\u002Fapi-reference\u002Fsegment-transcription) — sync client-VAD clips\n- [Timestamps & Speakers](\u002Fdocs\u002Frecorded\u002Ftimestamps-speakers) — timestamp details\n- [Errors](\u002Fdocs\u002Fapi-reference\u002Ferrors) — error codes\n",{"title":185,"description":1046},"r05cAZZod4JP4O9b1ktTJi2OOBBOx3SqakXgRtz5AO8",[1056,1057],{"title":181,"path":182,"stem":183,"children":-1},{"title":189,"path":190,"stem":191,"children":-1},1795064386819]