{
"timestamp": "2023-12-28T09:04:17.210Z",
"path": "/v2/transcription/45463597-20b7-4af7-b3b3-f5fb778203ab",
"request_id": "G-821fe9df",
"statusCode": 400,
"message": "Content-Type is missing Multipart Boundary.",
"validation_errors": [
"Field \"language\" must be a string",
"Field \"min_speakers\" must be a number"
]
}
{
"timestamp": "2023-12-28T09:04:17.210Z",
"path": "/v2/transcription/45463597-20b7-4af7-b3b3-f5fb778203ab",
"request_id": "G-821fe9df",
"statusCode": 400,
"message": "Content-Type is missing Multipart Boundary.",
"validation_errors": [
"Field \"language\" must be a string",
"Field \"min_speakers\" must be a number"
]
}
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Gladia","description":"Gladia is a state-of-the-art audio transcription and intelligence provider. We offer a simple API to get transcription from your audios and videos, in both Real-time and asynchronous ways, with audio intelligence tools to extract, analyze and understand data from your audios.","colors":{"primary":"#2e343e","light":"#FFFFFF","dark":"#2e343e"},"logo":{"light":"https://mintcdn.com/gladia-95/7AxFDxWc-Kx9YrXI/assets/images/logos/text-black.svg?fit=max\u0026auto=format\u0026n=7AxFDxWc-Kx9YrXI\u0026q=85\u0026s=859e5353abd40a9847f9e2c7484fed6e","dark":"https://mintcdn.com/gladia-95/7AxFDxWc-Kx9YrXI/assets/images/logos/text-white.svg?fit=max\u0026auto=format\u0026n=7AxFDxWc-Kx9YrXI\u0026q=85\u0026s=a5aa26d03764480054c8d3b955451fd4"},"favicon":"https://mintcdn.com/gladia-95/7AxFDxWc-Kx9YrXI/assets/icons/favicon.svg?fit=max\u0026auto=format\u0026n=7AxFDxWc-Kx9YrXI\u0026q=85\u0026s=9efa7a64cbd6179dba2bb8f9a9281c83","api":{"openapi":"https://api.gladia.io/openapi.json"},"appearance":{"default":"system","strict":false},"background":{"image":{"light":"","dark":""},"color":{"light":"#FFFFFF","dark":"#15181d"}},"navbar":{"links":[{"icon":"comment-question","href":"https://support.gladia.io/","label":"Support"},{"icon":"discord","href":"https://discord.gg/T22a4ETUQp","label":"Community"},{"icon":"newspaper","href":"https://www.gladia.io/blog","label":"Blog"}],"primary":{"type":"button","label":"Signup","href":"https://app.gladia.io/?utm_campaign=197609689-Website\u0026utm_source=documentation\u0026utm_content=sign-up"}},"footer":{"socials":{"twitter":"https://twitter.com/gladia_io","github":"https://github.com/gladiaio","linkedin":"https://www.linkedin.com/company/gladia-io"}},"seo":{"indexing":"all"},"fonts":{"family":"Inter"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":false},"integrations":{"gtm":{"tagId":"GTM-MKBBGXGP"},"hotjar":{"hjid":"5197599","hjsv":"6"},"intercom":{"appId":"zkqf4zax"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gladia-95","hasAudioNarration":false,"actualSubdomain":"gladia-95","customDomains":["docs.gladia.io"],"gitSource":{"type":"github","owner":"gladiaio","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae1cd91201cdb70a521d40b","collectionId":"91f1c416-6a1d-49dd-ba18-561526bac72b","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae1cd91201cdb70a521d40b"},"feedback":{"thumbs":false,"edits":false,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae1cd91201cdb70a521d40b","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"Documentation","count":55},{"language":"default","tag":"API Reference","count":43},{"language":"default","tag":"Live endpoints","count":25},{"language":"default","tag":"Callbacks","count":17},{"language":"default","tag":"Audio Intelligence","count":12},{"language":"default","tag":"Integrations","count":12},{"language":"default","tag":"Pre-recorded endpoints","count":11},{"language":"default","tag":"Speech-to-Text","count":9},{"language":"default","tag":"Webhooks","count":7},{"language":"default","tag":"Realtime messages","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@media (min-width:1280px){.prose{max-width:88ch}#content-area,#mintlify-content,main [class*=max-w-]{max-width:1180px!important}#content-container{padding-left:5rem;padding-right:3rem}}.prose pre{max-width:100%;overflow:auto}"}],"page":{"pagePath":"api-reference/v2/pre-recorded/init","slug":"/api-reference/v2/pre-recorded/init","pageMetadata":{"title":"Initiate a transcription","description":"Initiate a pre-recorded transcription job. Use the returned `id` and the [GET /v2/pre-recorded/:id](/api-reference/v2/pre-recorded/get) endpoint to obtain the results.","openapi":"POST /v2/pre-recorded","href":"/api-reference/v2/pre-recorded/init"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Initiate a pre-recorded transcription job. Use the returned \", _jsx(_components.code, {\n children: \"id\"\n }), \" and the \", _jsx(_components.a, {\n href: \"/api-reference/v2/pre-recorded/get\",\n children: \"GET /v2/pre-recorded/:id\"\n }), \" endpoint to obtain the results.\"]\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Tip}=_components;if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(Tip,{children:[_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`model`}),` to choose the transcription model:`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`\"solaria-3\"`})}),` — our latest model: highest accuracy on European real-world audio.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Async (pre-recorded) only`}),` — not available for live transcription.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Languages:`}),` English, French, German, Spanish, Italian`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Single language only`}),` — pass exactly one language in `,_jsx(_components.code,{children:`language_config.languages`}),` (no code switching).`]}),`\n`,_jsx(_components.li,{children:`All Audio Intelligence add-ons available.`}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`\"solaria-1\"`})}),` — our generalist model: maximum language coverage across any domain.`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Available for async and live.`}),`\n`,_jsx(_components.li,{children:`Code switching and multi-language configuration (100+ languages covered)`}),`\n`,_jsx(_components.li,{children:`All Audio Intelligence add-ons available.`}),`\n`]}),_jsx(_components.p,{children:`If omitted, the API uses the default model. (Solaria-1)`})]})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Initiate a transcription","description":"Initiate a pre-recorded transcription job. Use the returned `id` and the [GET /v2/pre-recorded/:id](/api-reference/v2/pre-recorded/get) endpoint to obtain the results.","openapi":"POST /v2/pre-recorded","href":"/api-reference/v2/pre-recorded/init"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"PreRecordedController_initPreRecordedJob_v2","parameters":[],"requestBody":"3690258c-8134-450c-b1fc-2fd6e7267cdb","responses":{"201":"6f066a4a-55c9-4e89-8785-c5887219e168","400":"07175f85-a1f8-4846-9ff4-c5167872bf3d","401":"ac653985-90d5-4fc0-9f38-fa4bcc2d85c6","422":"1acea8a1-bc38-4dd9-864c-15a910976339"},"security":["7e1c06ba-4e4b-4a57-a1d2-3942bf2fdd60"],"summary":"Initiate a new pre recorded job","tags":["Pre-recorded V2"],"method":"post","type":"path","servers":["fa4c31ce-1a18-4973-a989-1a18b4d5a45f"],"path":"/v2/pre-recorded","baseUrlOptions":["https://api.gladia.io/"],"title":"Initiate a new pre recorded job","description":"Initiate a pre-recorded transcription job. Use the returned `id` and the [GET /v2/pre-recorded/:id](/api-reference/v2/pre-recorded/get) endpoint to obtain the results.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"audio_url":{"type":"string","description":"URL to a Gladia file or to an external audio or video file","example":"https://files.gladia.io/example/audio-transcription/split_infinity.wav","format":"uri","isRequired":true,"uniqueKey":"audio_url","typeLabel":"string\u003curi>"},"custom_vocabulary":{"type":"boolean","description":"**[Beta]** Can be either boolean to enable custom_vocabulary for this audio or an array with specific vocabulary list to feed the transcription model with","default":false,"uniqueKey":"custom_vocabulary","typeLabel":"boolean"},"custom_vocabulary_config":{"type":"object","description":"**[Beta]** Custom vocabulary configuration, if `custom_vocabulary` is enabled","required":["vocabulary"],"properties":{"vocabulary":{"type":"array","description":"Specific vocabulary list to feed the transcription model with. Each item can be a string or an object with the following properties: value, intensity, pronunciations, language.","example":["Westeros",{"value":"Stark"},{"value":"Night's Watch","pronunciations":["Nightz Watch"],"intensity":0.4,"language":"en"}],"items":{"oneOf":[{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"The text used to replace in the transcription.","example":"Gladia","isRequired":true,"uniqueKey":"custom_vocabulary_config.vocabulary.items.[INDEX].oneOf.0.value","typeLabel":"string"},"intensity":{"type":"number","description":"The global intensity of the feature.","example":0.5,"minimum":0,"maximum":1,"uniqueKey":"custom_vocabulary_config.vocabulary.items.[INDEX].oneOf.0.intensity","typeLabel":"number"},"pronunciations":{"description":"The pronunciations used in the transcription.","type":"array","items":{"type":"string","uniqueKey":"custom_vocabulary_config.vocabulary.items.[INDEX].oneOf.0.pronunciations.items.[INDEX]","typeLabel":"string"},"uniqueKey":"custom_vocabulary_config.vocabulary.items.[INDEX].oneOf.0.pronunciations","typeLabel":"string[]"},"language":{"type":"string","description":"Specify the language in which it will be pronounced when sound comparison occurs. Default to transcription language.","enum":["af","am","ar","as","az","ba","be","bg","bn","bo","br","bs","ca","cs","cy","da","de","el","en","es","et","eu","fa","fi","fo","fr","gl","gu","ha","haw","he","hi","hr","ht","hu","hy","id","is","it","ja","jw","ka","kk","km","kn","ko","la","lb","ln","lo","lt","lv","mg","mi","mk","ml","mn","mr","ms","mt","my","ne","nl","nn","no","oc","pa","pl","ps","pt","ro","ru","sa","sd","si","sk","sl","sn","so","sq","sr","su","sv","sw","ta","te","tg","th","tk","tl","tr","tt","uk","ur","uz","vi","yi","yo","zh"],"example":"en","uniqueKey":"custom_vocabulary_config.vocabulary.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"custom_vocabulary_config.vocabulary.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"string","uniqueKey":"custom_vocabulary_config.vocabulary.items.[INDEX].oneOf.1","typeLabel":"string"}],"uniqueKey":"custom_vocabulary_config.vocabulary.items.[INDEX]","typeLabel":"object | string"},"isRequired":true,"uniqueKey":"custom_vocabulary_config.vocabulary","typeLabel":"(object | string)[]"},"default_intensity":{"type":"number","description":"Default intensity for the custom vocabulary","example":0.5,"minimum":0,"maximum":1,"uniqueKey":"custom_vocabulary_config.default_intensity","typeLabel":"number"}},"uniqueKey":"custom_vocabulary_config","typeLabel":"object"},"callback_url":{"type":"string","description":"**[Deprecated]** Use `callback`/`callback_config` instead. Callback URL we will do a `POST` request to with the result of the transcription","example":"https://callback.example","format":"uri","deprecated":true,"uniqueKey":"callback_url","typeLabel":"string\u003curi>"},"callback":{"type":"boolean","description":"Enable callback for this transcription. If true, the `callback_config` property will be used to customize the callback behaviour","default":false,"uniqueKey":"callback","typeLabel":"boolean"},"callback_config":{"type":"object","description":"Customize the callback behaviour (url and http method)","required":["url"],"properties":{"url":{"type":"string","description":"The URL to be called with the result of the transcription","example":"https://callback.example","format":"uri","isRequired":true,"uniqueKey":"callback_config.url","typeLabel":"string\u003curi>"},"method":{"type":"string","description":"The HTTP method to be used. Allowed values are `POST` or `PUT` (default: `POST`)","default":"POST","enum":["POST","PUT"],"example":"POST","uniqueKey":"callback_config.method","typeLabel":"enum\u003cstring>"}},"uniqueKey":"callback_config","typeLabel":"object"},"subtitles":{"type":"boolean","description":"Enable subtitles generation for this transcription","default":false,"uniqueKey":"subtitles","typeLabel":"boolean"},"subtitles_config":{"type":"object","description":"Configuration for subtitles generation if `subtitles` is enabled","properties":{"formats":{"type":"array","description":"Subtitles formats you want your transcription to be formatted to","default":["srt"],"minItems":1,"example":["srt"],"items":{"type":"string","enum":["srt","vtt"],"description":"Subtitles formats you want your transcription to be formatted to","uniqueKey":"subtitles_config.formats.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"subtitles_config.formats","typeLabel":"enum\u003cstring>[]"},"minimum_duration":{"type":"number","description":"Minimum duration of a subtitle in seconds","minimum":0,"uniqueKey":"subtitles_config.minimum_duration","typeLabel":"number"},"maximum_duration":{"type":"number","description":"Maximum duration of a subtitle in seconds","minimum":1,"maximum":30,"uniqueKey":"subtitles_config.maximum_duration","typeLabel":"number"},"maximum_characters_per_row":{"type":"integer","description":"Maximum number of characters per row in a subtitle","minimum":1,"uniqueKey":"subtitles_config.maximum_characters_per_row","typeLabel":"integer"},"maximum_rows_per_caption":{"type":"integer","description":"Maximum number of rows per caption","minimum":1,"maximum":5,"uniqueKey":"subtitles_config.maximum_rows_per_caption","typeLabel":"integer"},"style":{"type":"string","description":"Style of the subtitles. Compliance mode refers to : https://loc.gov/preservation/digital/formats//fdd/fdd000569.shtml#:~:text=SRT%20files%20are%20basic%20text,alongside%2C%20example%3A%20%22MyVideo123","default":"default","enum":["default","compliance"],"uniqueKey":"subtitles_config.style","typeLabel":"enum\u003cstring>"}},"uniqueKey":"subtitles_config","typeLabel":"object"},"diarization":{"type":"boolean","description":"Enable speaker recognition (diarization) for this audio","default":false,"uniqueKey":"diarization","typeLabel":"boolean"},"diarization_config":{"type":"object","description":"Speaker recognition configuration, if `diarization` is enabled","properties":{"number_of_speakers":{"type":"integer","description":"Exact number of speakers in the audio","example":3,"minimum":1,"uniqueKey":"diarization_config.number_of_speakers","typeLabel":"integer"},"min_speakers":{"type":"integer","description":"Minimum number of speakers in the audio","example":1,"minimum":0,"uniqueKey":"diarization_config.min_speakers","typeLabel":"integer"},"max_speakers":{"type":"integer","description":"Maximum number of speakers in the audio","example":2,"minimum":0,"uniqueKey":"diarization_config.max_speakers","typeLabel":"integer"}},"uniqueKey":"diarization_config","typeLabel":"object"},"translation":{"type":"boolean","description":"**[Beta]** Enable translation for this audio","default":false,"uniqueKey":"translation","typeLabel":"boolean"},"translation_config":{"type":"object","description":"**[Beta]** Translation configuration, if `translation` is enabled","required":["target_languages"],"properties":{"target_languages":{"type":"array","description":"Target language in `iso639-1` format you want the transcription translated to","example":["en"],"minItems":1,"items":{"type":"string","enum":["af","am","ar","as","az","ba","be","bg","bn","bo","br","bs","ca","cs","cy","da","de","el","en","es","et","eu","fa","fi","fo","fr","gl","gu","ha","haw","he","hi","hr","ht","hu","hy","id","is","it","ja","jw","ka","kk","km","kn","ko","la","lb","ln","lo","lt","lv","mg","mi","mk","ml","mn","mr","ms","mt","my","ne","nl","nn","no","oc","pa","pl","ps","pt","ro","ru","sa","sd","si","sk","sl","sn","so","sq","sr","su","sv","sw","ta","te","tg","th","tk","tl","tr","tt","uk","ur","uz","vi","wo","yi","yo","zh"],"description":"Target language in `iso639-1` format you want the transcription translated to","uniqueKey":"translation_config.target_languages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"translation_config.target_languages","typeLabel":"enum\u003cstring>[]"},"model":{"type":"string","description":"Model you want the translation model to use to translate","default":"batch","enum":["base","batch","enhanced"],"uniqueKey":"translation_config.model","typeLabel":"enum\u003cstring>"},"match_original_utterances":{"type":"boolean","description":"Align translated utterances with the original ones","default":true,"uniqueKey":"translation_config.match_original_utterances","typeLabel":"boolean"},"lipsync":{"type":"boolean","description":"Whether to apply lipsync to the translated transcription. ","default":true,"uniqueKey":"translation_config.lipsync","typeLabel":"boolean"},"context_adaptation":{"type":"boolean","description":"Enables or disables context-aware translation features that allow the model to adapt translations based on provided context.","default":true,"uniqueKey":"translation_config.context_adaptation","typeLabel":"boolean"},"context":{"type":"string","description":"Context information to improve translation accuracy","uniqueKey":"translation_config.context","typeLabel":"string"},"informal":{"type":"boolean","description":"Forces the translation to use informal language forms when available in the target language.","default":false,"uniqueKey":"translation_config.informal","typeLabel":"boolean"}},"uniqueKey":"translation_config","typeLabel":"object"},"summarization":{"type":"boolean","description":"Enable summarization for this audio","default":false,"uniqueKey":"summarization","typeLabel":"boolean"},"summarization_config":{"type":"object","description":"Summarization configuration, if `summarization` is enabled","properties":{"type":{"type":"string","description":"The type of summarization to apply","default":"general","enum":["general","bullet_points","concise"],"uniqueKey":"summarization_config.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"summarization_config","typeLabel":"object"},"named_entity_recognition":{"type":"boolean","description":"**[Alpha]** Enable named entity recognition for this audio","default":false,"uniqueKey":"named_entity_recognition","typeLabel":"boolean"},"custom_spelling":{"type":"boolean","description":"**[Alpha]** Enable custom spelling for this audio","default":false,"uniqueKey":"custom_spelling","typeLabel":"boolean"},"custom_spelling_config":{"type":"object","description":"**[Alpha]** Custom spelling configuration, if `custom_spelling` is enabled","required":["spelling_dictionary"],"properties":{"spelling_dictionary":{"type":"object","description":"The list of spelling applied on the audio transcription","example":{"Gettleman":["gettleman"],"SQL":["Sequel"]},"additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"custom_spelling_config.spelling_dictionary.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"custom_spelling_config.spelling_dictionary.additionalProperties","typeLabel":"string[]"},"isRequired":true,"uniqueKey":"custom_spelling_config.spelling_dictionary","typeLabel":"object"}},"uniqueKey":"custom_spelling_config","typeLabel":"object"},"sentiment_analysis":{"type":"boolean","description":"Enable sentiment analysis for this audio","default":false,"uniqueKey":"sentiment_analysis","typeLabel":"boolean"},"audio_to_llm":{"type":"boolean","description":"Enable audio to LLM processing for this audio","default":false,"uniqueKey":"audio_to_llm","typeLabel":"boolean"},"audio_to_llm_config":{"type":"object","description":"Audio to LLM configuration, if `audio_to_llm` is enabled","required":["prompts"],"properties":{"prompts":{"description":"The list of prompts applied on the audio transcription","example":["Extract the key points from the transcription"],"minItems":1,"type":"array","items":{"type":"array","uniqueKey":"audio_to_llm_config.prompts.items.[INDEX]","typeLabel":"array"},"isRequired":true,"uniqueKey":"audio_to_llm_config.prompts","typeLabel":"array[]"},"model":{"type":"string","description":"The model to use for the prompt execution. You can find the list of supported models [here](https://openrouter.ai/models).","default":"openai/gpt-5.4-nano","uniqueKey":"audio_to_llm_config.model","typeLabel":"string"}},"uniqueKey":"audio_to_llm_config","typeLabel":"object"},"pii_redaction":{"type":"boolean","description":"Enable PII redaction for this audio","default":false,"uniqueKey":"pii_redaction","typeLabel":"boolean"},"pii_redaction_config":{"type":"object","description":"PII redaction configuration, if `pii_redaction` is enabled","properties":{"entity_types":{"type":"string","description":"The entity types to redact","enum":["APPI","APPI_SENSITIVE","CCI","CORE_ENTITIES","CPRA","GDPR","GDPR_SENSITIVE","HEALTH_INFORMATION","HIPAA_SAFE_HARBOR","LIDI","NUMERICAL_EXCL_PCI","PCI","QUEBEC_PRIVACY_ACT","ACCOUNT_NUMBER","AGE","DATE","DATE_INTERVAL","DOB","DRIVER_LICENSE","DURATION","EMAIL_ADDRESS","EVENT","FILENAME","GENDER","HEALTHCARE_NUMBER","IP_ADDRESS","LANGUAGE","LOCATION","LOCATION_ADDRESS","LOCATION_ADDRESS_STREET","LOCATION_CITY","LOCATION_COORDINATE","LOCATION_COUNTRY","LOCATION_STATE","LOCATION_ZIP","MARITAL_STATUS","MONEY","NAME","NAME_FAMILY","NAME_GIVEN","NAME_MEDICAL_PROFESSIONAL","NUMERICAL_PII","OCCUPATION","ORGANIZATION","ORGANIZATION_MEDICAL_FACILITY","ORIGIN","PASSPORT_NUMBER","PASSWORD","PHONE_NUMBER","PHYSICAL_ATTRIBUTE","POLITICAL_AFFILIATION","RELIGION","SEXUALITY","SSN","TIME","URL","USERNAME","VEHICLE_ID","ZODIAC_SIGN","BLOOD_TYPE","CONDITION","DOSE","DRUG","INJURY","MEDICAL_PROCESS","STATISTICS","BANK_ACCOUNT","CREDIT_CARD","CREDIT_CARD_EXPIRATION","CVV","ROUTING_NUMBER","CORPORATE_ACTION","DAY","EFFECT","FINANCIAL_METRIC","MEDICAL_CODE","MONTH","ORGANIZATION_ID","PRODUCT","PROJECT","TREND","YEAR"],"example":["GDPR","HEALTH_INFORMATION","HIPAA_SAFE_HARBOR","QUEBEC_PRIVACY_ACT","EMAIL_ADDRESS","NAME","PHONE_NUMBER"],"uniqueKey":"pii_redaction_config.entity_types","typeLabel":"enum\u003cstring>"},"processed_text_type":{"type":"string","description":"The type of processed text to return (marker or mask)","enum":["MARKER","MASK"],"example":"MARKER","uniqueKey":"pii_redaction_config.processed_text_type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"pii_redaction_config","typeLabel":"object"},"custom_metadata":{"type":"object","description":"Custom metadata you can attach to this transcription","example":{"user":"John Doe"},"additionalProperties":true,"uniqueKey":"custom_metadata","typeLabel":"object"},"sentences":{"type":"boolean","description":"Enable sentences for this audio","default":false,"uniqueKey":"sentences","typeLabel":"boolean"},"punctuation_enhanced":{"type":"boolean","description":"**[Alpha]** Use enhanced punctuation for this audio","default":false,"uniqueKey":"punctuation_enhanced","typeLabel":"boolean"},"language_config":{"type":"object","description":"Specify the language configuration","properties":{"languages":{"type":"array","description":"If one language is set, it will be used for the transcription. Otherwise, language will be auto-detected by the model.","default":[],"items":{"type":"string","enum":["af","am","ar","as","az","ba","be","bg","bn","bo","br","bs","ca","cs","cy","da","de","el","en","es","et","eu","fa","fi","fo","fr","gl","gu","ha","haw","he","hi","hr","ht","hu","hy","id","is","it","ja","jw","ka","kk","km","kn","ko","la","lb","ln","lo","lt","lv","mg","mi","mk","ml","mn","mr","ms","mt","my","ne","nl","nn","no","oc","pa","pl","ps","pt","ro","ru","sa","sd","si","sk","sl","sn","so","sq","sr","su","sv","sw","ta","te","tg","th","tk","tl","tr","tt","uk","ur","uz","vi","yi","yo","zh"],"description":"Specify the language in which it will be pronounced when sound comparison occurs. Default to transcription language.","uniqueKey":"language_config.languages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"language_config.languages","typeLabel":"enum\u003cstring>[]"},"code_switching":{"type":"boolean","description":"If true, language will be auto-detected on each utterance. Otherwise, language will be auto-detected on first utterance and then used for the rest of the transcription. If one language is set, this option will be ignored.","default":false,"uniqueKey":"language_config.code_switching","typeLabel":"boolean"}},"uniqueKey":"language_config","typeLabel":"object"},"model":{"type":"string","description":"The model used to process the audio. \"solaria-1\" is used by default.","default":"solaria-1","enum":["solaria-1","solaria-3","solaria-fusion"],"uniqueKey":"model","typeLabel":"enum\u003cstring>"}},"required":["audio_url"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"audio_url":"https://files.gladia.io/example/audio-transcription/split_infinity.wav","custom_vocabulary":false,"callback_url":"https://callback.example","callback":false,"subtitles":false,"subtitles_config":{"formats":["srt"],"minimum_duration":1,"maximum_duration":15.5,"maximum_characters_per_row":2,"maximum_rows_per_caption":3,"style":"default"},"diarization":false,"diarization_config":{"number_of_speakers":3,"min_speakers":1,"max_speakers":2},"translation":false,"summarization":false,"summarization_config":{"type":"general"},"named_entity_recognition":false,"custom_spelling":false,"sentiment_analysis":false,"audio_to_llm":false,"pii_redaction":false,"pii_redaction_config":{"entity_types":["GDPR","HEALTH_INFORMATION","HIPAA_SAFE_HARBOR","QUEBEC_PRIVACY_ACT","EMAIL_ADDRESS","NAME","PHONE_NUMBER"],"processed_text_type":"MARKER"},"custom_metadata":{"user":"John Doe"},"sentences":false,"punctuation_enhanced":false,"language_config":{"languages":[],"code_switching":false},"model":"solaria-1"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"6f066a4a-55c9-4e89-8785-c5887219e168":{"description":"The pre recorded job has been initiated","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Id of the job","format":"uuid","example":"45463597-20b7-4af7-b3b3-f5fb778203ab","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"result_url":{"type":"string","description":"Prebuilt URL with your transcription `id` to fetch the result","example":"https://api.gladia.io/v2/transcription/45463597-20b7-4af7-b3b3-f5fb778203ab","format":"uri","isRequired":true,"uniqueKey":"result_url","typeLabel":"string\u003curi>"}},"required":["id","result_url"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"45463597-20b7-4af7-b3b3-f5fb778203ab","result_url":"https://api.gladia.io/v2/transcription/45463597-20b7-4af7-b3b3-f5fb778203ab"}}},"exampleType":"generated"}},"exampleType":"generated"},"07175f85-a1f8-4846-9ff4-c5167872bf3d":{"description":"Something is wrong with the request","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","description":"Date of when the error occurred","example":"2023-12-28T09:04:17.210Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"Path to the API endpoint","example":"/v2/transcription/45463597-20b7-4af7-b3b3-f5fb778203ab","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"request_id":{"type":"string","description":"Debug id","example":"G-821fe9df","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"statusCode":{"type":"number","description":"HTTP status code of the error","example":400,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Content-Type is missing Multipart Boundary.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"validation_errors":{"description":"List of validation errors, if any","example":["Field \"language\" must be a string","Field \"min_speakers\" must be a number"],"type":"array","items":{"type":"string","uniqueKey":"validation_errors.items.[INDEX]","typeLabel":"string"},"uniqueKey":"validation_errors","typeLabel":"string[]"}},"required":["timestamp","path","request_id","statusCode","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"timestamp":"2023-12-28T09:04:17.210Z","path":"/v2/transcription/45463597-20b7-4af7-b3b3-f5fb778203ab","request_id":"G-821fe9df","statusCode":400,"message":"Content-Type is missing Multipart Boundary.","validation_errors":["Field \"language\" must be a string","Field \"min_speakers\" must be a number"]}}},"exampleType":"generated"}},"exampleType":"generated"},"ac653985-90d5-4fc0-9f38-fa4bcc2d85c6":{"description":"You don't have the permissions to initiate a new pre recorded job","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","description":"Date of when the error occurred","example":"2023-12-28T09:04:17.210Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"Path to the API endpoint","example":"/v2/transcription/45463597-20b7-4af7-b3b3-f5fb778203ab","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"request_id":{"type":"string","description":"Debug id","example":"G-821fe9df","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"statusCode":{"type":"number","description":"HTTP status code of the error","example":401,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"gladia key not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["timestamp","path","request_id","statusCode","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"timestamp":"2023-12-28T09:04:17.210Z","path":"/v2/transcription/45463597-20b7-4af7-b3b3-f5fb778203ab","request_id":"G-821fe9df","statusCode":401,"message":"gladia key not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"1acea8a1-bc38-4dd9-864c-15a910976339":{"description":"The parameters you gave are incorrect","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","description":"Date of when the error occurred","example":"2023-12-28T09:04:17.210Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"Path to the API endpoint","example":"/v2/transcription/45463597-20b7-4af7-b3b3-f5fb778203ab","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"request_id":{"type":"string","description":"Debug id","example":"G-821fe9df","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"statusCode":{"type":"number","description":"HTTP status code of the error","example":422,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Invalid parameter","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["timestamp","path","request_id","statusCode","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"timestamp":"2023-12-28T09:04:17.210Z","path":"/v2/transcription/45463597-20b7-4af7-b3b3-f5fb778203ab","request_id":"G-821fe9df","statusCode":422,"message":"Invalid parameter"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7e1c06ba-4e4b-4a57-a1d2-3942bf2fdd60":{"x_gladia_key":{"type":"apiKey","in":"header","name":"x-gladia-key","description":"Your personal Gladia API key","scopes":[],"schemeName":"x_gladia_key"}}},"servers":{"fa4c31ce-1a18-4973-a989-1a18b4d5a45f":{"url":"https://api.gladia.io/","description":"Gladia API production URL"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-gladia-key","description":"Your personal Gladia API key","scopes":[],"schemeName":"x_gladia_key"},"schema":{"title":"x-gladia-key","type":"string","description":"Your personal Gladia API key","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"x_gladia_key","name":"x-gladia-key"}],"title":"x_gladia_key"}]},"originalFileLocation":"https://api.gladia.io/openapi.json"},"subdomain":"gladia-95","siteName":"Gladia","title":"Initiate a transcription - Gladia","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-09T15:38:19.414Z","originalFileLocation":"api-reference/v2/pre-recorded/init.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=\"Initiate a pre-recorded transcription job. Use the returned id and the GET /v2/pre-recorded/:id endpoint to obtain the results.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Gladia\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gladia-95/C6Kx4RCj0cgFXBjD/_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/gladia-95/C6Kx4RCj0cgFXBjD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gladia-95/C6Kx4RCj0cgFXBjD/_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/gladia-95/C6Kx4RCj0cgFXBjD/_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/gladia-95/C6Kx4RCj0cgFXBjD/_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/gladia-95/C6Kx4RCj0cgFXBjD/_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/gladia-95/C6Kx4RCj0cgFXBjD/_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/gladia-95/C6Kx4RCj0cgFXBjD/_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/gladia-95/C6Kx4RCj0cgFXBjD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Initiate a transcription - Gladia\">\u003cmeta data-mint-head property=\"og:description\" content=\"Initiate a pre-recorded transcription job. Use the returned id and the GET /v2/pre-recorded/:id endpoint to obtain the results.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gladia\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gladia.io/api-reference/v2/pre-recorded/init\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gladia-95.mintlify.app/_mintlify/api/og/v2?division=Pre-recorded+endpoints\u0026amp;title=Initiate+a+transcription\u0026amp;description=Initiate+a+pre-recorded+transcription+job.+Use+the+returned+%60id%60+and+the+%5BGET+%2Fv2%2Fpre-recorded%2F%3Aid%5D%28%2Fapi-reference%2Fv2%2Fpre-recorded%2Fget%29+endpoint+to+obtain+the+r\u0026amp;theme=b7566f14237b5244f02cd99a\u0026amp;signature=6f86352ad381798b7f5d3d87fee57682ad83ea7d8f37e51733c9db175f50810d\">\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=\"Initiate a transcription - Gladia\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Initiate a pre-recorded transcription job. Use the returned id and the GET /v2/pre-recorded/:id endpoint to obtain the results.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gladia-95.mintlify.app/_mintlify/api/og/v2?division=Pre-recorded+endpoints\u0026amp;title=Initiate+a+transcription\u0026amp;description=Initiate+a+pre-recorded+transcription+job.+Use+the+returned+%60id%60+and+the+%5BGET+%2Fv2%2Fpre-recorded%2F%3Aid%5D%28%2Fapi-reference%2Fv2%2Fpre-recorded%2Fget%29+endpoint+to+obtain+the+r\u0026amp;theme=b7566f14237b5244f02cd99a\u0026amp;signature=6f86352ad381798b7f5d3d87fee57682ad83ea7d8f37e51733c9db175f50810d\">\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/gladia-95/C6Kx4RCj0cgFXBjD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Gladia\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2e343e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gladia.io/api-reference/v2/pre-recorded/init\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v2/pre-recorded/init.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gladia.io/#organization\",\"name\":\"Gladia\",\"url\":\"https://docs.gladia.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gladia-95/7AxFDxWc-Kx9YrXI/assets/images/logos/text-black.svg?fit=max\u0026auto=format\u0026n=7AxFDxWc-Kx9YrXI\u0026q=85\u0026s=859e5353abd40a9847f9e2c7484fed6e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gladia.io#website\",\"name\":\"Gladia\",\"url\":\"https://docs.gladia.io\",\"publisher\":{\"@id\":\"https://docs.gladia.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gladia.io/api-reference/v2/pre-recorded/init#webpage\",\"url\":\"https://docs.gladia.io/api-reference/v2/pre-recorded/init\",\"name\":\"Initiate a transcription\",\"description\":\"Initiate a pre-recorded transcription job. Use the returned id and the GET /v2/pre-recorded/:id endpoint to obtain the results.\",\"dateModified\":\"2026-06-09T15:38:19.414Z\",\"isPartOf\":{\"@id\":\"https://docs.gladia.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gladia.io/api-reference/v2/pre-recorded/init#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gladia.io/api-reference/v2/pre-recorded/init#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Pre-recorded endpoints\",\"item\":\"https://docs.gladia.io/api-reference/v2/upload/audio-file\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Initiate a transcription\",\"item\":\"https://docs.gladia.io/api-reference/v2/pre-recorded/init\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gladia.io/api-reference/v2/pre-recorded/init#apireference\",\"headline\":\"Initiate a transcription\",\"name\":\"Initiate a transcription\",\"description\":\"Initiate a pre-recorded transcription job. Use the returned id and the GET /v2/pre-recorded/:id endpoint to obtain the results.\",\"url\":\"https://docs.gladia.io/api-reference/v2/pre-recorded/init\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gladia.io/api-reference/v2/pre-recorded/init#webpage\"},\"dateModified\":\"2026-06-09T15:38:19.414Z\",\"publisher\":{\"@id\":\"https://docs.gladia.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gladia.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Gladia\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Gladia","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/chapters/introduction"}]},{"anchor":"API Reference","icon":"code","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference"},{"title":"Authentication","href":"/api-reference/authentication"}]},{"group":"Live endpoints","pages":[{"title":"Initiate a session","openapi":"POST /v2/live","href":"/api-reference/v2/live/init"},{"title":"Live WebSocket","asyncapi":"asyncapi.yaml liveTranscription","href":"/api-reference/v2/live/websocket"},{"title":"Get result","openapi":"GET /v2/live/{id}","href":"/api-reference/v2/live/get"},{"title":"List transcriptions","openapi":"GET /v2/live","href":"/api-reference/v2/live/list"},{"title":"Download audio file","openapi":"GET /v2/live/{id}/file","href":"/api-reference/v2/live/get-audio"},{"title":"Delete transcription","openapi":"delete /v2/live/{id}","href":"/api-reference/v2/live/delete"},{"group":"Webhooks","icon":"webhook","pages":[{"title":"Start session","href":"/api-reference/v2/live/webhook/start-session"},{"title":"Start recording","href":"/api-reference/v2/live/webhook/start-recording"},{"title":"End recording","href":"/api-reference/v2/live/webhook/end-recording"},{"title":"End session","href":"/api-reference/v2/live/webhook/end-session"}]},{"group":"Callbacks","icon":"reply-all","pages":[{"group":"Realtime messages","pages":[{"title":"Transcript","href":"/api-reference/v2/live/callback/transcript"},{"title":"Speech Start","href":"/api-reference/v2/live/callback/speech-start"},{"title":"Speech End","href":"/api-reference/v2/live/callback/speech-end"},{"title":"Translation","href":"/api-reference/v2/live/callback/translation"},{"title":"Named Entity Recognition","href":"/api-reference/v2/live/callback/named-entity-recognition"},{"title":"Sentiment Analysis","href":"/api-reference/v2/live/callback/sentiment-analysis"}]},{"group":"Post-processing messages","pages":[{"title":"Post Transcript","href":"/api-reference/v2/live/callback/post-transcript"},{"title":"Final transcript","href":"/api-reference/v2/live/callback/post-final-transcript"},{"title":"Summarization","href":"/api-reference/v2/live/callback/post-summarization"}]},{"group":"Acknowledgment messages","pages":[{"title":"Audio chunk acknowledge (ack)","href":"/api-reference/v2/live/callback/audio-chunk-ack"},{"title":"Stop recording acknowledge (ack)","href":"/api-reference/v2/live/callback/stop-recording-ack"}]},{"group":"Lifecycle messages","pages":[{"title":"Start session","href":"/api-reference/v2/live/callback/start-session"},{"title":"Start recording","href":"/api-reference/v2/live/callback/start-recording"},{"title":"End recording","href":"/api-reference/v2/live/callback/end-recording"},{"title":"End session","href":"/api-reference/v2/live/callback/end-session"}]}]}]},{"group":"Pre-recorded endpoints","pages":[{"title":"Upload a file","description":"Upload a file for use in a pre-recorded job.","openapi":"post /v2/upload","href":"/api-reference/v2/upload/audio-file"},{"title":"Initiate a transcription","openapi":"POST /v2/pre-recorded","href":"/api-reference/v2/pre-recorded/init"},{"title":"Get result","description":"Get pre-recorded transcription's status, parameters and result.","openapi":"GET /v2/pre-recorded/{id}","href":"/api-reference/v2/pre-recorded/get"},{"title":"List transcriptions","openapi":"GET /v2/pre-recorded","href":"/api-reference/v2/pre-recorded/list"},{"title":"Download audio file","openapi":"GET /v2/pre-recorded/{id}/file","href":"/api-reference/v2/pre-recorded/get-audio"},{"title":"Delete transcription","openapi":"delete /v2/pre-recorded/{id}","href":"/api-reference/v2/pre-recorded/delete"},{"group":"Webhooks","icon":"webhook","pages":[{"title":"Created","href":"/api-reference/v2/pre-recorded/webhook/created"},{"title":"Success","href":"/api-reference/v2/pre-recorded/webhook/success"},{"title":"Error","href":"/api-reference/v2/pre-recorded/webhook/error"}]},{"group":"Callbacks","icon":"reply-all","pages":[{"title":"Success","href":"/api-reference/v2/pre-recorded/callback/success"},{"title":"Error","href":"/api-reference/v2/pre-recorded/callback/error"}]}]},{"group":"Transcription (deprecated)","pages":[{"title":"Initiate a transcription","openapi":"POST /v2/transcription","href":"/api-reference/v2/transcription/init"},{"title":"Get result","openapi":"GET /v2/transcription/{id}","href":"/api-reference/v2/transcription/get"},{"title":"List transcriptions","openapi":"GET /v2/transcription","href":"/api-reference/v2/transcription/list"},{"title":"Download audio file","openapi":"GET /v2/transcription/{id}/file","href":"/api-reference/v2/transcription/get-audio"},{"title":"Delete transcription","openapi":"delete /v2/transcription/{id}","href":"/api-reference/v2/transcription/delete"}]}]}]},"title":"Initiate a transcription - Gladia","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}