Encrypted JSON string containing all audio translation parameters. When decrypted, this string must match the structure shown in the expandable _decryptedInference property below (reference only - do not send this property).
Nonce used for encrypting the encrypted audio file
Response
Encrypted audio translation response. The response contains the encrypted translation result (always to English) which must be decrypted using the shared secret derived from the request's cipherText, along with the response nonce.
Encrypted audio translation response. Contains the encrypted translation result (always translated to English) that must be decrypted using the shared secret derived from the request's cipherText.
Support ID linked to the response, used to identify it when talking with our team
Example:
"support_uuidv7-something-else"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Confidential AI API: Secure LLM Inference at Scale | Prem","colors":{"primary":"#5473BE","light":"#6B87C7","dark":"#4055BF"},"logo":{"light":"https://mintcdn.com/pcci-docs/mrB5JRRZ363u53KU/images/logo/light.svg?fit=max\u0026auto=format\u0026n=mrB5JRRZ363u53KU\u0026q=85\u0026s=7b017ddec6cf9e8ffa387c65ac5dbb79","dark":"https://mintcdn.com/pcci-docs/mrB5JRRZ363u53KU/images/logo/dark.svg?fit=max\u0026auto=format\u0026n=mrB5JRRZ363u53KU\u0026q=85\u0026s=79f520aab4ec2521f89de2daa36ce0d4"},"favicon":{"light":"https://mintcdn.com/pcci-docs/sZ7VgIlZ81owdj52/images/favicon.light.svg?fit=max\u0026auto=format\u0026n=sZ7VgIlZ81owdj52\u0026q=85\u0026s=0b446e7caeab6f2c922b8d56c6a7bda0","dark":"https://mintcdn.com/pcci-docs/sZ7VgIlZ81owdj52/images/favicon.dark.svg?fit=max\u0026auto=format\u0026n=sZ7VgIlZ81owdj52\u0026q=85\u0026s=2803e8629cf0148a397ce03a67b281d6"},"background":{"color":{"light":"#FFFFFF","dark":"#0A0A0A"}},"navbar":{"links":[{"href":"https://docs.prem.io/contact-us","label":"Contact Us"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.prem.io"}},"footer":{"socials":{}},"seo":{"metatags":{"og:image":"/images/og.png","og:title":"Confidential AI API: Secure LLM Inference at Scale | Prem","og:description":"Build on Prem's confidential AI APIs: secure LLM inference with end-to-end encryption, chat completions, and audio transcription. Get your API keys in minutes.","twitter:title":"Confidential AI API: Secure LLM Inference at Scale | Prem","twitter:description":"Build on Prem's confidential AI APIs: secure LLM inference with end-to-end encryption, chat completions, and audio transcription. Get your API keys in minutes.","twitter:image":"/images/og.png"}},"fonts":{"heading":{"family":"Aeonik Pro","weight":500,"source":"fonts/AeonikPro-Medium.woff2","format":"woff2"},"body":{"family":"Inter"}},"styling":{"codeblocks":"system","latex":false},"integrations":{"gtm":{"tagId":"GTM-M8XDSTLM"}},"contextual":{"options":["chatgpt","claude","copy","view","mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pcci-docs","hasAudioNarration":false,"actualSubdomain":"pcci-docs","customDomains":["docs.prem.io"],"gitSource":{"type":"github","owner":"premai-io","repo":"pcci-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad68c6aece37526c40e6bb8","collectionId":"64585a1d-4f7c-495d-906f-77d0d23f2a56","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad68c6aece37526c40e6bb8"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ad68c6aece37526c40e6bb8","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"Documentation","count":23},{"language":"default","tag":"Guides","count":21},{"language":"default","tag":"API Reference","count":17},{"language":"default","tag":"Core Concepts","count":9},{"language":"default","tag":"Get Started","count":8},{"language":"default","tag":"Endpoints","count":7},{"language":"default","tag":"API Keys","count":6},{"language":"default","tag":"Billing","count":4},{"language":"default","tag":"Support","count":4},{"language":"default","tag":"Handling Errors","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/audio-translations","slug":"/api-reference/audio-translations","pageMetadata":{"openapi":"post /rvenc/audio/translations","title":"Encrypted Audio Translations (RVENC)","description":"Translate an end-to-end encrypted audio file into English text, whatever the input language. Nothing is stored: neither the audio nor the translation.","href":"/api-reference/audio-translations"},"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: \"Translate an end-to-end encrypted audio file into English text, whatever the input language. Nothing is stored: neither the audio nor the translation.\"\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`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`typescript-sdk`,children:`TypeScript SDK`}),`\n`,_jsxs(_components.p,{children:[`The SDK provides `,_jsx(_components.code,{children:`client.audio.translations.create(...)`}),`. The Confidential Proxy provides the `,_jsx(_components.code,{children:`/v1/audio/translations`}),` route.`]}),`\n`,_jsx(Heading,{level:`3`,id:`set-the-kek`,children:`Set the KEK`}),`\n`,_jsx(_components.p,{children:`Create a 32-byte KEK. Encode it as 64 hexadecimal characters. Keep the KEK. Reuse it for later requests.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` CLIENT_KEK`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openssl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rand `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`-hex`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 32`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`)\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`list-the-models`,children:`List the models`}),`\n`,_jsx(_components.p,{children:`Start the proxy:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -p`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @premai/api-sdk@1.0.66`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` confidential-proxy`}),_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:` --compat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` openai`}),_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:` --kek`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CLIENT_KEK`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`List the available models:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://127.0.0.1:8787/v1/models`}),_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:`$PREM_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Use a model ID that supports audio translation.`}),`\n`,_jsx(Heading,{level:`2`,id:`api-reference`,children:`API Reference`})]})}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":{"openapi":"post /rvenc/audio/translations","title":"Encrypted Audio Translations (RVENC)","description":"Translate an end-to-end encrypted audio file into English text, whatever the input language. Nothing is stored: neither the audio nor the translation.","href":"/api-reference/audio-translations"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"TypeScript SDK","slug":"typescript-sdk","depth":2,"children":[{"title":"Set the KEK","slug":"set-the-kek","depth":3,"children":[]},{"title":"List the models","slug":"list-the-models","depth":3,"children":[]}]},{"title":"API Reference","slug":"api-reference","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/pcci-docs/399ffb6b0ae5cab6/jsonld.js"],"openApiReferenceData":{"operation":{"summary":"Encrypted Audio Translations (RVENC)","description":"Translate an end-to-end encrypted audio file into English text, whatever the input language. Nothing is stored: neither the audio nor the translation.","operationId":"createRvencAudioTranslation","tags":["Audio","dev-api"],"security":["3a95a970-43c8-4001-8bdb-a903ccf43378"],"requestBody":"a5ca669c-7320-4ba1-9cba-5a73b3ce512f","responses":{"200":"180cd68c-85bb-45b2-bd82-e4e55b49919a","400":"1be020dc-b15f-472d-a776-ed067dce3c0b","401":"4e62555a-6180-47f8-a91e-8c06679a6c10","403":"5610f6af-ac35-45ac-a18c-118a22da79dd","413":"c6b6f025-da3c-456e-8c13-7b5d798c8ace","429":"783c44ca-c160-4fc9-b188-c4d88d77e22b"},"method":"post","type":"path","servers":["5cc3bc00-b676-42ab-9eb4-8ae7dc75c0c1"],"path":"/rvenc/audio/translations","baseUrlOptions":["https://gateway.prem.io"],"title":"Encrypted Audio Translations (RVENC)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Audio translation request with an end-to-end encrypted payload and the key material needed to decrypt it.","properties":{"model":{"type":"string","description":"Model identifier to use for translation","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"encryptedInference":{"type":"string","description":"Encrypted JSON string containing all audio translation parameters. When decrypted, this string must match the structure shown in the expandable `_decryptedInference` property below (reference only - do not send this property).","isRequired":true,"uniqueKey":"encryptedInference","typeLabel":"string"},"cipherText":{"type":"string","description":"Cipher text for shared secret generation (ECDH key exchange)","isRequired":true,"uniqueKey":"cipherText","typeLabel":"string"},"nonce":{"type":"string","description":"Nonce used for encrypting the inference payload","isRequired":true,"uniqueKey":"nonce","typeLabel":"string"},"encryptedFileName":{"type":"string","description":"The encrypted audio file name. The file name is encrypted using XChaCha20-Poly1305 with the shared secret and fileNameNonce.","isRequired":true,"uniqueKey":"encryptedFileName","typeLabel":"string"},"fileNameNonce":{"type":"string","description":"Nonce used for encrypting the encrypted audio file name","isRequired":true,"uniqueKey":"fileNameNonce","typeLabel":"string"},"encryptedFile":{"type":"string","description":"The encrypted audio file data. The audio content is encrypted using XChaCha20-Poly1305 with the shared secret and fileNonce.","isRequired":true,"uniqueKey":"encryptedFile","typeLabel":"string"},"fileNonce":{"type":"string","description":"Nonce used for encrypting the encrypted audio file","isRequired":true,"uniqueKey":"fileNonce","typeLabel":"string"}},"required":["model","encryptedInference","cipherText","nonce","fileNameNonce","encryptedFileName","fileNonce","encryptedFile"],"additionalProperties":false,"examples":[{"model":"whisper-large-v3","encryptedInference":"encrypted_inference_payload_data","cipherText":"cipher_text_for_key_exchange","nonce":"nonce_value","fileNameNonce":"file_name_nonce_value","encryptedFileName":"encrypted_audio_file_name_data","fileNonce":"file_nonce_value","encryptedFile":"encrypted_audio_file_data"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"whisper-large-v3","encryptedInference":"encrypted_inference_payload_data","cipherText":"cipher_text_for_key_exchange","nonce":"nonce_value","fileNameNonce":"file_name_nonce_value","encryptedFileName":"encrypted_audio_file_name_data","fileNonce":"file_nonce_value","encryptedFile":"encrypted_audio_file_data"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"180cd68c-85bb-45b2-bd82-e4e55b49919a":{"description":"Encrypted audio translation response. The response contains the encrypted translation result (always to English) which must be decrypted using the shared secret derived from the request's cipherText, along with the response nonce.","content":{"application/json":{"schema":{"type":"object","required":["status","data","message","env"],"example":{"status":200,"data":{"id":"123"},"error":null,"log":null,"validator":null,"support_id":null,"message":"Resource created successfully","env":"development"},"properties":{"status":{"type":"integer","enum":[200,201,202],"description":"Status code of the response","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cinteger>"},"data":{"type":"object","description":"Encrypted audio translation response. Contains the encrypted translation result (always translated to English) that must be decrypted using the shared secret derived from the request's cipherText.","required":["encryptedResponse","nonce"],"example":{"encryptedResponse":"b2c3d4e5f67890abcdef1234567890abcdef12345678901234567890abcdef12345678...","nonce":"e5d4c3b2a19876543210fedcba987654"},"properties":{"encryptedResponse":{"type":"string","description":"Encrypted JSON string containing the translation result. Decrypt using XChaCha20-Poly1305 with the shared secret (derived from cipherText) and the response nonce. When decrypted, the content matches the structure shown in the `_decryptedResponse` property below (reference only).","isRequired":true,"uniqueKey":"data.encryptedResponse","typeLabel":"string"},"nonce":{"type":"string","description":"Hex-encoded nonce used for decrypting the encryptedResponse payload.","isRequired":true,"uniqueKey":"data.nonce","typeLabel":"string"},"_decryptedResponse":{"type":"object","description":"**Reference only - This is NOT returned in the response.** This shows the structure that `encryptedResponse` contains when decrypted. The decrypted content matches OpenAI's Translation response structure.","properties":{"text":{"type":"string","description":"The translated text (in English).","examples":["Hello world"],"isRequired":true,"uniqueKey":"data._decryptedResponse.text","typeLabel":"string"},"task":{"type":"string","description":"The task performed, typically 'translate'. (Verbose JSON only)","examples":["translate"],"uniqueKey":"data._decryptedResponse.task","typeLabel":"string"},"language":{"type":"string","description":"The detected language of the input audio. (Verbose JSON only)","examples":["spanish"],"uniqueKey":"data._decryptedResponse.language","typeLabel":"string"},"duration":{"type":"number","description":"The duration of the audio in seconds. (Verbose JSON only)","examples":[3.1],"uniqueKey":"data._decryptedResponse.duration","typeLabel":"number"},"segments":{"type":"array","description":"Segments of the translated text with timestamps. (Verbose JSON only, if requested)","items":{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data._decryptedResponse.segments.items.[INDEX].id","typeLabel":"integer"},"seek":{"type":"integer","uniqueKey":"data._decryptedResponse.segments.items.[INDEX].seek","typeLabel":"integer"},"start":{"type":"number","uniqueKey":"data._decryptedResponse.segments.items.[INDEX].start","typeLabel":"number"},"end":{"type":"number","uniqueKey":"data._decryptedResponse.segments.items.[INDEX].end","typeLabel":"number"},"text":{"type":"string","uniqueKey":"data._decryptedResponse.segments.items.[INDEX].text","typeLabel":"string"},"tokens":{"type":"array","items":{"type":"integer","uniqueKey":"data._decryptedResponse.segments.items.[INDEX].tokens.items.[INDEX]","typeLabel":"integer"},"uniqueKey":"data._decryptedResponse.segments.items.[INDEX].tokens","typeLabel":"integer[]"},"temperature":{"type":"number","uniqueKey":"data._decryptedResponse.segments.items.[INDEX].temperature","typeLabel":"number"},"avg_logprob":{"type":"number","uniqueKey":"data._decryptedResponse.segments.items.[INDEX].avg_logprob","typeLabel":"number"},"compression_ratio":{"type":"number","uniqueKey":"data._decryptedResponse.segments.items.[INDEX].compression_ratio","typeLabel":"number"},"no_speech_prob":{"type":"number","uniqueKey":"data._decryptedResponse.segments.items.[INDEX].no_speech_prob","typeLabel":"number"}},"uniqueKey":"data._decryptedResponse.segments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data._decryptedResponse.segments","typeLabel":"object[]"}},"required":["text"],"additionalProperties":false,"examples":[{"text":"The quick brown fox jumps over the lazy dog."},{"task":"translate","language":"german","duration":4.5,"text":"I am a Berliner.","segments":[{"id":0,"seek":0,"start":0,"end":4.5,"text":"I am a Berliner.","tokens":[50364,314,716,257,45115,13,50589],"temperature":0,"avg_logprob":-0.15,"compression_ratio":1.1,"no_speech_prob":0.05}]}],"readOnly":true,"uniqueKey":"data._decryptedResponse","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"message":{"oneOf":[{"type":"string","examples":["Resource created successfully"],"description":"Message of the response, human readable","isRequired":true,"uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","examples":["Resource created successfully"],"description":"Message of the response, human readable","isRequired":true,"uniqueKey":"message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"message","typeLabel":"string | null"},"env":{"type":"string","enum":["development","production"],"description":"API environment","isRequired":true,"uniqueKey":"env","typeLabel":"enum\u003cstring>"},"error":{"oneOf":[{"type":"string","examples":["Invalid email address"],"description":"Error message of the response, human readable","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","examples":["Invalid email address"],"description":"Error message of the response, human readable","uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"string | null"},"log":{"oneOf":[{"type":"string","examples":[{"request_id":"req_1234567890"},"Some pertinent log message"],"description":"Useful informaiton, not always present, to debug the response","uniqueKey":"log.oneOf.0","typeLabel":"string"},{"type":"object","examples":[{"request_id":"req_1234567890"},"Some pertinent log message"],"description":"Useful informaiton, not always present, to debug the response","uniqueKey":"log.oneOf.1","typeLabel":"object"},{"type":"null","examples":[{"request_id":"req_1234567890"},"Some pertinent log message"],"description":"Useful informaiton, not always present, to debug the response","uniqueKey":"log.oneOf.2","typeLabel":"null"}],"uniqueKey":"log","typeLabel":"string | object | null"},"validator":{"oneOf":[{"type":"object","examples":[{"email":"Invalid email address","password":"Password is required"}],"description":"Validator response object, each key is the field name and value is the error message","uniqueKey":"validator.oneOf.0","typeLabel":"object"},{"type":"array","examples":[{"email":"Invalid email address","password":"Password is required"}],"description":"Validator response object, each key is the field name and value is the error message","uniqueKey":"validator.oneOf.1","typeLabel":"array"},{"type":"null","examples":[{"email":"Invalid email address","password":"Password is required"}],"description":"Validator response object, each key is the field name and value is the error message","uniqueKey":"validator.oneOf.2","typeLabel":"null"}],"uniqueKey":"validator","typeLabel":"object | array | null"},"support_id":{"oneOf":[{"type":"string","format":"uuid","examples":["support_uuidv7-something-else"],"description":"Support ID linked to the response, used to identify it when talking with our team","uniqueKey":"support_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","examples":["support_uuidv7-something-else"],"description":"Support ID linked to the response, used to identify it when talking with our team","uniqueKey":"support_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"support_id","typeLabel":"string\u003cuuid> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":200,"data":{"id":"123"},"error":null,"log":null,"validator":null,"support_id":null,"message":"Resource created successfully","env":"development"}}},"exampleType":"generated"}},"exampleType":"generated"},"1be020dc-b15f-472d-a776-ed067dce3c0b":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","enum":[400,401,403,404,429,502,503],"description":"Status code of the response","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cinteger>"},"error":{"oneOf":[{"type":"string","examples":["Some error message"],"description":"Error message of the response, human readable","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","examples":["Some error message"],"description":"Error message of the response, human readable","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | null"},"message":{"type":"null","isRequired":true,"uniqueKey":"message","typeLabel":"null"},"env":{"type":"string","enum":["development","production"],"description":"API environment","isRequired":true,"uniqueKey":"env","typeLabel":"enum\u003cstring>"},"log":{"oneOf":[{"type":"string","examples":[{"request_id":"req_1234567890"},"Some pertinent log message"],"description":"Useful informaiton, not always present, to debug the response","isRequired":true,"uniqueKey":"log.oneOf.0","typeLabel":"string"},{"type":"object","examples":[{"request_id":"req_1234567890"},"Some pertinent log message"],"description":"Useful informaiton, not always present, to debug the response","isRequired":true,"uniqueKey":"log.oneOf.1","typeLabel":"object"},{"type":"null","examples":[{"request_id":"req_1234567890"},"Some pertinent log message"],"description":"Useful informaiton, not always present, to debug the response","isRequired":true,"uniqueKey":"log.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"log","typeLabel":"string | object | null"},"support_id":{"oneOf":[{"type":"string","format":"uuid","examples":["support_uuidv7-something-else"],"description":"Support ID linked to the response, used to identify it when talking with our team","isRequired":true,"uniqueKey":"support_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","examples":["support_uuidv7-something-else"],"description":"Support ID linked to the response, used to identify it when talking with our team","isRequired":true,"uniqueKey":"support_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"support_id","typeLabel":"string\u003cuuid> | null"},"data":{"oneOf":[{"type":"object","description":"Response data containing the requested object","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Response data containing the requested object","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"validator":{"oneOf":[{"type":"object","examples":[{"email":"Invalid email address","password":"Password is required"}],"description":"Validator response object, each key is the field name and value is the error message","uniqueKey":"validator.oneOf.0","typeLabel":"object"},{"type":"array","examples":[{"email":"Invalid email address","password":"Password is required"}],"description":"Validator response object, each key is the field name and value is the error message","uniqueKey":"validator.oneOf.1","typeLabel":"array"},{"type":"null","examples":[{"email":"Invalid email address","password":"Password is required"}],"description":"Validator response object, each key is the field name and value is the error message","uniqueKey":"validator.oneOf.2","typeLabel":"null"}],"uniqueKey":"validator","typeLabel":"object | array | null"}},"required":["status","error","message","env","log","support_id"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":400,"error":"Some error message","message":null,"env":"development","log":{"request_id":"req_1234567890"},"support_id":"support_uuidv7-something-else","data":{},"validator":{"email":"Invalid email address","password":"Password is required"}}}},"exampleType":"generated"}},"exampleType":"generated"},"4e62555a-6180-47f8-a91e-8c06679a6c10":{"description":"Access token is missing or invalid","content":{"application/json":{"schema":{"type":"object","required":["status","error","message","env","log","support_id"],"properties":{"status":{"type":"integer","description":"Status code of the response","enum":[401],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cinteger>"},"error":{"oneOf":[{"type":"string","examples":["Some error message"],"description":"Error message of the response, human readable","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","examples":["Some error message"],"description":"Error message of the response, human readable","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | null"},"message":{"type":"null","isRequired":true,"uniqueKey":"message","typeLabel":"null"},"env":{"type":"string","enum":["development","production"],"description":"API environment","isRequired":true,"uniqueKey":"env","typeLabel":"enum\u003cstring>"},"log":{"oneOf":[{"type":"string","examples":[{"request_id":"req_1234567890"},"Some pertinent log message"],"description":"Useful informaiton, not always present, to debug the response","isRequired":true,"uniqueKey":"log.oneOf.0","typeLabel":"string"},{"type":"object","examples":[{"request_id":"req_1234567890"},"Some pertinent log message"],"description":"Useful informaiton, not always present, to debug the response","isRequired":true,"uniqueKey":"log.oneOf.1","typeLabel":"object"},{"type":"null","examples":[{"request_id":"req_1234567890"},"Some pertinent log message"],"description":"Useful informaiton, not always present, to debug the response","isRequired":true,"uniqueKey":"log.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"log","typeLabel":"string | object | null"},"support_id":{"oneOf":[{"type":"string","format":"uuid","examples":["support_uuidv7-something-else"],"description":"Support ID linked to the response, used to identify it when talking with our team","isRequired":true,"uniqueKey":"support_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","examples":["support_uuidv7-something-else"],"description":"Support ID linked to the response, used to identify it when talking with our team","isRequired":true,"uniqueKey":"support_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"support_id","typeLabel":"string\u003cuuid> | null"},"data":{"oneOf":[{"type":"object","description":"Response data containing the requested object","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Response data containing the requested object","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"validator":{"oneOf":[{"type":"object","examples":[{"email":"Invalid email address","password":"Password is required"}],"description":"Validator response object, each key is the field name and value is the error message","uniqueKey":"validator.oneOf.0","typeLabel":"object"},{"type":"array","examples":[{"email":"Invalid email address","password":"Password is required"}],"description":"Validator response object, each key is the field name and value is the error message","uniqueKey":"validator.oneOf.1","typeLabel":"array"},{"type":"null","examples":[{"email":"Invalid email address","password":"Password is required"}],"description":"Validator response object, each key is the field name and value is the error message","uniqueKey":"validator.oneOf.2","typeLabel":"null"}],"uniqueKey":"validator","typeLabel":"object | array | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":401,"error":"Some error message","message":null,"env":"development","log":{"request_id":"req_1234567890"},"support_id":"support_uuidv7-something-else","data":{},"validator":{"email":"Invalid email address","password":"Password is required"}}}},"exampleType":"generated"}},"exampleType":"generated"},"5610f6af-ac35-45ac-a18c-118a22da79dd":{"description":"You do not have the required permissions to access this resource","content":{"application/json":{"schema":{"type":"object","required":["status","error","message","env","log","support_id"],"properties":{"status":{"type":"integer","description":"Status code of the response","enum":[403],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cinteger>"},"error":{"oneOf":[{"type":"string","examples":["Some error message"],"description":"Error message of the response, human readable","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","examples":["Some error message"],"description":"Error message of the response, human readable","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | null"},"message":{"type":"null","isRequired":true,"uniqueKey":"message","typeLabel":"null"},"env":{"type":"string","enum":["development","production"],"description":"API environment","isRequired":true,"uniqueKey":"env","typeLabel":"enum\u003cstring>"},"log":{"oneOf":[{"type":"string","examples":[{"request_id":"req_1234567890"},"Some pertinent log message"],"description":"Useful informaiton, not always present, to debug the response","isRequired":true,"uniqueKey":"log.oneOf.0","typeLabel":"string"},{"type":"object","examples":[{"request_id":"req_1234567890"},"Some pertinent log message"],"description":"Useful informaiton, not always present, to debug the response","isRequired":true,"uniqueKey":"log.oneOf.1","typeLabel":"object"},{"type":"null","examples":[{"request_id":"req_1234567890"},"Some pertinent log message"],"description":"Useful informaiton, not always present, to debug the response","isRequired":true,"uniqueKey":"log.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"log","typeLabel":"string | object | null"},"support_id":{"oneOf":[{"type":"string","format":"uuid","examples":["support_uuidv7-something-else"],"description":"Support ID linked to the response, used to identify it when talking with our team","isRequired":true,"uniqueKey":"support_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","examples":["support_uuidv7-something-else"],"description":"Support ID linked to the response, used to identify it when talking with our team","isRequired":true,"uniqueKey":"support_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"support_id","typeLabel":"string\u003cuuid> | null"},"data":{"oneOf":[{"type":"object","description":"Response data containing the requested object","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Response data containing the requested object","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"validator":{"oneOf":[{"type":"object","examples":[{"email":"Invalid email address","password":"Password is required"}],"description":"Validator response object, each key is the field name and value is the error message","uniqueKey":"validator.oneOf.0","typeLabel":"object"},{"type":"array","examples":[{"email":"Invalid email address","password":"Password is required"}],"description":"Validator response object, each key is the field name and value is the error message","uniqueKey":"validator.oneOf.1","typeLabel":"array"},{"type":"null","examples":[{"email":"Invalid email address","password":"Password is required"}],"description":"Validator response object, each key is the field name and value is the error message","uniqueKey":"validator.oneOf.2","typeLabel":"null"}],"uniqueKey":"validator","typeLabel":"object | array | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":403,"error":"Some error message","message":null,"env":"development","log":{"request_id":"req_1234567890"},"support_id":"support_uuidv7-something-else","data":{},"validator":{"email":"Invalid email address","password":"Password is required"}}}},"exampleType":"generated"}},"exampleType":"generated"},"c6b6f025-da3c-456e-8c13-7b5d798c8ace":{"description":"Request entity too large - audio file exceeds maximum allowed size","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","examples":[413],"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"string","examples":["Audio file size exceeds the maximum allowed limit of 25MB."],"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":413,"error":"Audio file size exceeds the maximum allowed limit of 25MB."}}},"exampleType":"generated"}},"exampleType":"generated"},"783c44ca-c160-4fc9-b188-c4d88d77e22b":{"description":"Too many requests - rate limit exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","examples":[429],"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"string","examples":["Rate limit exceeded. Please try again later."],"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":429,"error":"Rate limit exceeded. Please try again later."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3a95a970-43c8-4001-8bdb-a903ccf43378":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Send your access token as header Authorization: Bearer {accessToken}","scopes":[]},"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Your API key that starts with sk_live or sk_test. You can create yours at go.prem.io/api-keys.","scopes":[]}}},"servers":{"5cc3bc00-b676-42ab-9eb4-8ae7dc75c0c1":{"url":"https://gateway.prem.io","description":"Production API server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Send your access token as header Authorization: Bearer {accessToken}","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Send your access token as header Authorization: Bearer {accessToken}","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"},{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Your API key that starts with sk_live or sk_test. You can create yours at go.prem.io/api-keys.","scopes":[]},"schema":{"title":"Authorization","type":"string","description":"Your API key that starts with sk_live or sk_test. You can create yours at go.prem.io/api-keys.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"BearerAuth \u0026 ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"pcci-docs","siteName":"Confidential AI API: Secure LLM Inference at Scale | Prem","title":"Confidential AI API: Secure LLM Inference at Scale | Prem","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-22T18:37:41.001Z","originalFileLocation":"api-reference/audio-translations.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=\"Translate an end-to-end encrypted audio file into English text, whatever the input language. Nothing is stored: neither the audio nor the translation.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Confidential AI API: Secure LLM Inference at Scale | Prem\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pcci-docs/n-sFaqK0eHjogIpf/_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/pcci-docs/n-sFaqK0eHjogIpf/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pcci-docs/n-sFaqK0eHjogIpf/_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/pcci-docs/n-sFaqK0eHjogIpf/_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/pcci-docs/n-sFaqK0eHjogIpf/_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/pcci-docs/n-sFaqK0eHjogIpf/_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/pcci-docs/n-sFaqK0eHjogIpf/_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/pcci-docs/n-sFaqK0eHjogIpf/_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/pcci-docs/n-sFaqK0eHjogIpf/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Confidential AI API: Secure LLM Inference at Scale | Prem\">\u003cmeta data-mint-head property=\"og:description\" content=\"Build on Prem\u0026#x27;s confidential AI APIs: secure LLM inference with end-to-end encryption, chat completions, and audio transcription. Get your API keys in minutes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Confidential AI API: Secure LLM Inference at Scale | Prem\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.prem.io/api-reference/audio-translations\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pcci-docs.mintlify.app/images/og.png\">\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=\"Confidential AI API: Secure LLM Inference at Scale | Prem\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Build on Prem\u0026#x27;s confidential AI APIs: secure LLM inference with end-to-end encryption, chat completions, and audio transcription. Get your API keys in minutes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pcci-docs.mintlify.app/images/og.png\">\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/pcci-docs/n-sFaqK0eHjogIpf/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Confidential AI API: Secure LLM Inference at Scale | Prem\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5473BE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.prem.io/api-reference/audio-translations\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/audio-translations.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.prem.io/#organization\",\"name\":\"Confidential AI API: Secure LLM Inference at Scale | Prem\",\"url\":\"https://docs.prem.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pcci-docs/mrB5JRRZ363u53KU/images/logo/light.svg?fit=max\u0026auto=format\u0026n=mrB5JRRZ363u53KU\u0026q=85\u0026s=7b017ddec6cf9e8ffa387c65ac5dbb79\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.prem.io#website\",\"name\":\"Confidential AI API: Secure LLM Inference at Scale | Prem\",\"url\":\"https://docs.prem.io\",\"publisher\":{\"@id\":\"https://docs.prem.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.prem.io/api-reference/audio-translations#webpage\",\"url\":\"https://docs.prem.io/api-reference/audio-translations\",\"name\":\"Encrypted Audio Translations (RVENC)\",\"description\":\"Translate an end-to-end encrypted audio file into English text, whatever the input language. Nothing is stored: neither the audio nor the translation.\",\"dateModified\":\"2026-09-22T18:37:41.001Z\",\"isPartOf\":{\"@id\":\"https://docs.prem.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.prem.io/api-reference/audio-translations#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.prem.io/api-reference/audio-translations#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.prem.io/api-reference/chat-completions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Encrypted Audio Translations (RVENC)\",\"item\":\"https://docs.prem.io/api-reference/audio-translations\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.prem.io/api-reference/audio-translations#apireference\",\"headline\":\"Encrypted Audio Translations (RVENC)\",\"name\":\"Encrypted Audio Translations (RVENC)\",\"description\":\"Translate an end-to-end encrypted audio file into English text, whatever the input language. Nothing is stored: neither the audio nor the translation.\",\"url\":\"https://docs.prem.io/api-reference/audio-translations\",\"mainEntityOfPage\":{\"@id\":\"https://docs.prem.io/api-reference/audio-translations#webpage\"},\"image\":\"https://docs.prem.io/images/og.png\",\"dateModified\":\"2026-09-22T18:37:41.001Z\",\"publisher\":{\"@id\":\"https://docs.prem.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.prem.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Confidential AI API: Secure LLM Inference at Scale | Prem\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Confidential AI API: Secure LLM Inference at Scale | Prem","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":""}]},{"anchor":"Guides","icon":"compass","pages":[{"title":"Guides","href":"/agents"}]},{"anchor":"API Reference","icon":"code","groups":[{"group":"Endpoints","icon":"plug","pages":[{"openapi":"post /rvenc/chat/completions","title":"Encrypted Chat Completions (RVENC)","href":"/api-reference/chat-completions"},{"openapi":"post /openai/chat/completions","title":"Create chat completion (OpenAI-compatible)","href":"/api-reference/zdr-chat-completions"},{"openapi":"post /rvenc/audio/transcriptions","title":"Encrypted Audio Transcriptions (RVENC)","description":"Transcribe an end-to-end encrypted audio file into text, in the language spoken in the audio. Nothing is stored: neither the audio nor the transcript.","href":"/api-reference/audio-transcriptions"},{"openapi":"post /rvenc/audio/translations","title":"Encrypted Audio Translations (RVENC)","href":"/api-reference/audio-translations"},{"openapi":"get /rvenc/models","title":"List available models for confidential inference","description":"Get a list of models available for confidential (rvenc) inference","href":"/api-reference/list-models"},{"openapi":"get /openai/models","title":"List available models for standard inference","href":"/api-reference/zdr-list-models"},{"title":"Decisions","sidebarTitle":"Decisions (TypeSafe-compatible)","openapi":"post /typesafe/v1/systemone","href":"/api-reference/zdr-decisions"}]},{"group":"API Keys","icon":"key","pages":[{"openapi":"get /developers/api_keys/{id}","title":"Get an API key","href":"/api-reference/api-keys/get-api-key"},{"openapi":"get /analytics/api_keys","title":"Get API key analytics","href":"/api-reference/api-keys/get-api-key-analytics"},{"openapi":"get /developers/api_keys/scopes","title":"List API key scopes","href":"/api-reference/api-keys/list-api-key-scopes"},{"openapi":"get /developers/api_keys","title":"List API keys","href":"/api-reference/api-keys/list-api-keys"},{"openapi":"get /developers/api_keys/requests/{id}","title":"Get API key request","href":"/api-reference/api-keys/get-api-key-request"},{"openapi":"post /developers/api_keys/requests","title":"List API key requests","href":"/api-reference/api-keys/list-api-key-requests"}]},{"group":"Billing","icon":"credit-card","pages":[{"title":"Balance","sidebarTitle":"Balance","icon":"wallet","href":"/billing/balance"},{"title":"Limits","sidebarTitle":"Limits","icon":"gauge","href":"/billing/limits"},{"title":"Payment","sidebarTitle":"Payment","icon":"credit-card","href":"/billing/payment"},{"title":"Usage","sidebarTitle":"Usage","icon":"chart-line","href":"/billing/usage"}]}]},{"anchor":"Support","icon":"life-ring","pages":[{"title":"Support","href":"/glossary"}]}]},"title":"Confidential AI API: Secure LLM Inference at Scale | Prem","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","Page-7TwLLapg.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}