{ "success": true, "text": "Plan a four lesson unit on photosynthesis for second years.", "language": "english", "duration": 4.2}
Accepts an audio payload and returns a transcript. Used for voice input into
planning and chat surfaces.The request is multipart/form-data, not JSON — this is the only endpoint on
the platform that does not take a JSON body.
Biases the transcription. Defaults to a teaching-domain prompt that primes the
model for lesson planning, curriculum and assessment vocabulary, and asks for
proper punctuation and capitalisation.
{ "success": true, "text": "Plan a four lesson unit on photosynthesis for second years.", "language": "english", "duration": 4.2}
language and duration are passed through from the upstream response, so they
are absent when the configured response_format does not include them. Only
text is guaranteed.
No file part, or the upstream model rejected the audio.
405
Anything other than POST.
500
Server missing its upstream API key.
502
Upstream returned a 5xx.
Failures carry details alongside error: the upstream status and the first
500 characters of its body, so a rejected payload can be diagnosed without
server log access.
The model defaults to gpt-4o-transcribe, which supersedes whisper-1 — the
endpoint name predates the swap. It can be pinned back to whisper-1 by
environment variable without a redeploy, which is needed only for the
verbose_json, srt and vtt formats that gpt-4o-transcribe does not
support.
The deployed transcription proxy is richer than earlier written specifications
of it. Treat the running service as authoritative and do not redeploy from an
older spec document.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MESO Docs","description":"API reference and integration guides for the MESO educational planning platform.","colors":{"primary":"#B64B00","light":"#FF720F","dark":"#D15600"},"logo":{"light":"https://mintcdn.com/meso-lab/4fn_Y-YWQ1gkm2sT/logo/meso-light.svg?fit=max\u0026auto=format\u0026n=4fn_Y-YWQ1gkm2sT\u0026q=85\u0026s=0f20c795a69b624ef3f0c4a575470a08","dark":"https://mintcdn.com/meso-lab/4fn_Y-YWQ1gkm2sT/logo/meso-dark.svg?fit=max\u0026auto=format\u0026n=4fn_Y-YWQ1gkm2sT\u0026q=85\u0026s=1d9fa741f7aa99dd1e47f67e8eb49463","href":"https://www.mesolab.ai"},"favicon":"https://mintcdn.com/meso-lab/4fn_Y-YWQ1gkm2sT/logo/favicon.svg?fit=max\u0026auto=format\u0026n=4fn_Y-YWQ1gkm2sT\u0026q=85\u0026s=c4320af2e933ad7e7c740b0839692bb6","navbar":{"links":[{"href":"https://www.mesolab.ai","label":"Marketing site"},{"href":"mailto:contact@mesolab.ai","label":"Support"}],"primary":{"type":"button","label":"Open MESO","href":"https://app.mesolab.ai"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/mesolab","x":"https://x.com/mesolab"},"links":[{"header":"Legal","items":[{"label":"Privacy","href":"https://www.mesolab.ai/privacy"},{"label":"Terms","href":"https://www.mesolab.ai/terms"},{"label":"Cookies","href":"https://www.mesolab.ai/cookies"}]}]},"search":{"prompt":"Search MESO docs"},"fonts":{"family":"Geist"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"meso-lab","hasAudioNarration":false,"actualSubdomain":"meso-lab","customDomains":["docs.mesolab.ai"],"gitSource":{"type":"github","owner":"mesolab","repo":"meso-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6a8ecb641a367802b31e2e69","collectionId":"caa2c304-bfc1-4b2a-a0c5-fd9d73fe9e6d","liveDeploymentHistoryId":"6a8ecb641a367802b31e2e69","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a8ecb641a367802b31e2e69","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Teachers","count":21},{"language":"default","tag":"Developers","count":20},{"language":"default","tag":"Schools \u0026 publishers","count":7},{"language":"default","tag":"Running MESO","count":7},{"language":"default","tag":"Planning","count":6},{"language":"default","tag":"Assessment","count":5},{"language":"default","tag":"Curriculum","count":5},{"language":"default","tag":"Get started","count":5},{"language":"default","tag":"Assist","count":3},{"language":"default","tag":"Content","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/assist/whisper-transcribe","slug":"/api-reference/assist/whisper-transcribe","pageMetadata":{"title":"Transcription","api":"POST /whisper-transcribe","description":"Speech-to-text for voice input.","icon":"microphone","href":"/api-reference/assist/whisper-transcribe"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Speech-to-text for voice input.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Info,Note,ParamField,ResponseField,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Accepts an audio payload and returns a transcript. Used for voice input into\nplanning and chat surfaces.`}),`\n`,_jsxs(_components.p,{children:[`The request is `,_jsx(_components.code,{children:`multipart/form-data`}),`, not JSON — this is the only endpoint on\nthe platform that does not take a JSON body.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(ParamField,{body:`file`,type:`file`,required:true,id:`param-file`,children:_jsxs(_components.p,{children:[`The audio blob. Sent as a multipart part, not base64 in a JSON field. A\nmissing or non-file `,_jsx(_components.code,{children:`file`}),` part returns `,_jsx(_components.code,{children:`400`}),`.`]})}),`\n`,_jsx(ParamField,{body:`language`,type:`string`,default:`en`,id:`param-language`,children:_jsx(_components.p,{children:`ISO language hint passed to the model.`})}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,id:`param-prompt`,children:_jsx(_components.p,{children:`Biases the transcription. Defaults to a teaching-domain prompt that primes the\nmodel for lesson planning, curriculum and assessment vocabulary, and asks for\nproper punctuation and capitalisation.`})}),`\n`,_jsx(ParamField,{body:`response_format`,type:`string`,default:`json`,id:`param-response-format`,children:_jsx(_components.p,{children:`Passed straight through to the upstream model.`})}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when transcription succeeded.`]})}),`\n`,_jsx(ResponseField,{name:`text`,type:`string`,id:`param-text`,children:_jsx(_components.p,{children:`The transcript, trimmed.`})}),`\n`,_jsx(ResponseField,{name:`language`,type:`string`,id:`param-language-1`,children:_jsx(_components.p,{children:`Language as reported by the model.`})}),`\n`,_jsx(ResponseField,{name:`duration`,type:`number`,id:`param-duration`,children:_jsx(_components.p,{children:`Audio duration as reported by the model.`})}),`\n`,`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`language`}),` and `,_jsx(_components.code,{children:`duration`}),` are passed through from the upstream response, so they\nare absent when the configured `,_jsx(_components.code,{children:`response_format`}),` does not include them. Only\n`,_jsx(_components.code,{children:`text`}),` is guaranteed.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Cause`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`No `,_jsx(_components.code,{children:`file`}),` part, or the upstream model rejected the audio.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`405`}),_jsxs(_components.td,{children:[`Anything other than `,_jsx(_components.code,{children:`POST`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:`Server missing its upstream API key.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`502`}),_jsx(_components.td,{children:`Upstream returned a 5xx.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Failures carry `,_jsx(_components.code,{children:`details`}),` alongside `,_jsx(_components.code,{children:`error`}),`: the upstream `,_jsx(_components.code,{children:`status`}),` and the first\n500 characters of its body, so a rejected payload can be diagnosed without\nserver log access.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`The model defaults to `,_jsx(_components.code,{children:`gpt-4o-transcribe`}),`, which supersedes `,_jsx(_components.code,{children:`whisper-1`}),` — the\nendpoint name predates the swap. It can be pinned back to `,_jsx(_components.code,{children:`whisper-1`}),` by\nenvironment variable without a redeploy, which is needed only for the\n`,_jsx(_components.code,{children:`verbose_json`}),`, `,_jsx(_components.code,{children:`srt`}),` and `,_jsx(_components.code,{children:`vtt`}),` formats that `,_jsx(_components.code,{children:`gpt-4o-transcribe`}),` does not\nsupport.`]})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The deployed transcription proxy is richer than earlier written specifications\nof it. Treat the running service as authoritative and do not redeploy from an\nolder spec document.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Transcription","api":"POST /whisper-transcribe","description":"Speech-to-text for voice input.","icon":"microphone","href":"/api-reference/assist/whisper-transcribe"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[199,217,"pre:`pre`,span:`span`,tbody:`tbody`,td:`"],[297,383,"CodeBlock,Heading,Info,Note,ParamField,RequestExample,ResponseExample,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_mis"],[563,575,"questExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)"],[2133,2145,"_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$BASE_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/whisper-transcribe\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ACCESS_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"file=@recording.webm\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language=en\"`})]}),`\n`]})})})}),`\n`,_jsx(Hea"],[2842,2846,"_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Plan a four lesson unit on photosynthesis for second years.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"language\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"english\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4.2`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,"]]},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$BASE_URL\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/whisper-transcribe\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$ACCESS_TOKEN\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -F\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"file=@recording.webm\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -F\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"language=en\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"text\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Plan a four lesson unit on photosynthesis for second years.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"language\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"english\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">4.2\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Transcription","path":"/whisper-transcribe","method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"file":[{"type":"file","description":"The audio blob. Sent as a multipart part, not base64 in a JSON field. A missing or non-file `file` part returns `400` .","required":true}],"language":[{"type":"string","description":"ISO language hint passed to the model."}],"prompt":[{"type":"string","description":"Biases the transcription. Defaults to a teaching-domain prompt that primes the model for lesson planning, curriculum and assessment vocabulary, and asks for proper punctuation and capitalisation."}],"response_format":[{"type":"string","description":"Passed straight through to the upstream model."}]}}],"examples":{"example":{"value":{"language":"\u003cstring>","prompt":"\u003cstring>","response_format":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"`true` when transcription succeeded."}],"text":[{"type":"string","description":"The transcript, trimmed."}],"language":[{"type":"string","description":"Language as reported by the model."}],"duration":[{"type":"number","description":"Audio duration as reported by the model."}]}}],"examples":{"example":{"value":{"success":true,"text":"\u003cstring>","language":"\u003cstring>","duration":123}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"meso-lab","siteName":"MESO Docs","title":"Transcription - MESO Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-21T18:27:01.201Z","originalFileLocation":"api-reference/assist/whisper-transcribe.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Speech-to-text for voice input.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MESO Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/meso-lab/xgmBOAoGJ_cgEBgb/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/meso-lab/xgmBOAoGJ_cgEBgb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/meso-lab/xgmBOAoGJ_cgEBgb/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/meso-lab/xgmBOAoGJ_cgEBgb/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/meso-lab/xgmBOAoGJ_cgEBgb/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/meso-lab/xgmBOAoGJ_cgEBgb/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/meso-lab/xgmBOAoGJ_cgEBgb/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/meso-lab/xgmBOAoGJ_cgEBgb/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/meso-lab/xgmBOAoGJ_cgEBgb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Transcription - MESO Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Speech-to-text for voice input.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MESO Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mesolab.ai/api-reference/assist/whisper-transcribe\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://meso-lab.mintlify.app/_mintlify/api/og/v2?division=Assist\u0026amp;title=Transcription\u0026amp;description=Speech-to-text+for+voice+input.\u0026amp;theme=7df8d1f9585a44d32f08d999\u0026amp;signature=7986883b2fc1c537430086fc91d15da1630129f68b42e90ba6fd737950c67252\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Transcription - MESO Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Speech-to-text for voice input.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://meso-lab.mintlify.app/_mintlify/api/og/v2?division=Assist\u0026amp;title=Transcription\u0026amp;description=Speech-to-text+for+voice+input.\u0026amp;theme=7df8d1f9585a44d32f08d999\u0026amp;signature=7986883b2fc1c537430086fc91d15da1630129f68b42e90ba6fd737950c67252\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/meso-lab/xgmBOAoGJ_cgEBgb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MESO Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#B64B00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mesolab.ai/api-reference/assist/whisper-transcribe\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/assist/whisper-transcribe.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mesolab.ai/#organization\",\"name\":\"MESO Docs\",\"url\":\"https://docs.mesolab.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/meso-lab/4fn_Y-YWQ1gkm2sT/logo/meso-light.svg?fit=max\u0026auto=format\u0026n=4fn_Y-YWQ1gkm2sT\u0026q=85\u0026s=0f20c795a69b624ef3f0c4a575470a08\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mesolab.ai#website\",\"name\":\"MESO Docs\",\"url\":\"https://docs.mesolab.ai\",\"publisher\":{\"@id\":\"https://docs.mesolab.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mesolab.ai/api-reference/assist/whisper-transcribe#webpage\",\"url\":\"https://docs.mesolab.ai/api-reference/assist/whisper-transcribe\",\"name\":\"Transcription\",\"description\":\"Speech-to-text for voice input.\",\"dateModified\":\"2026-08-21T18:27:01.201Z\",\"isPartOf\":{\"@id\":\"https://docs.mesolab.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mesolab.ai/api-reference/assist/whisper-transcribe#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mesolab.ai/api-reference/assist/whisper-transcribe#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Assist\",\"item\":\"https://docs.mesolab.ai/api-reference/assist/chat\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transcription\",\"item\":\"https://docs.mesolab.ai/api-reference/assist/whisper-transcribe\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.mesolab.ai/api-reference/assist/whisper-transcribe#apireference\",\"headline\":\"Transcription\",\"name\":\"Transcription\",\"description\":\"Speech-to-text for voice input.\",\"url\":\"https://docs.mesolab.ai/api-reference/assist/whisper-transcribe\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mesolab.ai/api-reference/assist/whisper-transcribe#webpage\"},\"dateModified\":\"2026-08-21T18:27:01.201Z\",\"publisher\":{\"@id\":\"https://docs.mesolab.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mesolab.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MESO Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"MESO Docs","nav":{"global":null,"tabs":[{"tab":"Teachers","icon":"graduation-cap","pages":[{"title":"Teachers","href":"/teachers/get-started"}]},{"tab":"Schools \u0026 publishers","icon":"building","pages":[{"title":"Schools \u0026 publishers","href":"/schools/rollout"}]},{"tab":"Developers","icon":"code","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"Quickstart","icon":"rocket","href":"/quickstart"},{"title":"Authentication","icon":"key","href":"/authentication"}]},{"group":"Concepts","icon":"diagram-project","pages":[{"title":"Architecture","icon":"sitemap","href":"/concepts/architecture"},{"title":"Capabilities","icon":"cubes","href":"/concepts/capabilities"},{"title":"Conventions","icon":"list-check","href":"/concepts/conventions"}]},{"group":"Overview","icon":"circle-info","pages":[{"title":"API reference","icon":"circle-info","href":"/api-reference/introduction"},{"title":"Errors","icon":"triangle-exclamation","href":"/api-reference/errors"}]},{"group":"Planning","icon":"calendar-days","pages":[{"title":"Unit planning","api":"POST /unit-planning","icon":"calendar-days","href":"/api-reference/planning/unit-planning"},{"title":"Lesson planning","api":"POST /lesson-planning","icon":"chalkboard-user","href":"/api-reference/planning/lesson-planning"}]},{"group":"Assessment","icon":"clipboard-check","pages":[{"title":"Rubric","api":"POST /rubric","icon":"table-list","href":"/api-reference/assessment/rubric"},{"title":"Assessment","api":"POST /assessment","icon":"clipboard-check","href":"/api-reference/assessment/assessment"}]},{"group":"Content","icon":"shapes","pages":[{"title":"Resource","api":"POST /resource","icon":"folder-open","href":"/api-reference/content/resource"},{"title":"Slides","api":"POST /slides","icon":"display","href":"/api-reference/content/slides"},{"title":"Hero image","api":"POST /unit-hero-image","icon":"image","href":"/api-reference/content/unit-hero-image"}]},{"group":"Assist","icon":"comments","pages":[{"title":"Chat","api":"POST /chat","icon":"comments","href":"/api-reference/assist/chat"},{"title":"AI actions","api":"POST /ai-actions","description":"Five bounded generation helpers for objectives, activities, outcomes, rubrics and questions.","icon":"wand-magic-sparkles","href":"/api-reference/assist/ai-actions"},{"title":"Transcription","api":"POST /whisper-transcribe","icon":"microphone","href":"/api-reference/assist/whisper-transcribe"}]},{"group":"Curriculum","icon":"compass","pages":[{"title":"Recommend learning outcomes","api":"POST /recommend-lo","description":"Suggest curriculum learning outcomes relevant to a topic.","icon":"compass","href":"/api-reference/curriculum/recommend-lo"},{"title":"Recommend assessments","api":"POST /recommend-as","icon":"scale-balanced","href":"/api-reference/curriculum/recommend-as"}]},{"group":"Documents","icon":"file-lines","pages":[{"title":"Document ingestion","api":"POST /ingest-teacher-document","icon":"file-arrow-up","href":"/api-reference/documents/ingest-teacher-document"}]}]}]},"basePath":"","title":"Transcription - MESO Docs","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js"]}