{
"code": 500,
"message": "internal server error"
}
Use this endpoint when you need to upload a pre-recorded WAV for an Ambient or Form filling session created with input_type set to audio_file.Suki returns a one-time that you use to upload the recording with an HTTP PUT request. Include both signed headers specified below.After Suki receives the file successfully, it starts processing automatically. You do not need to call end session for audio_file sessions.
Choose the correct session ID
This endpoint supports both Ambient and Form filling:
Ambient: Pass the ambient_session_id of the Ambient session.
Form filling: Pass the ambient_session_id of the Form filling session.
Create the session with input_type: "audio_file" before requesting the upload URL. Calling this endpoint when the session input_type is not audio_file returns ING_SDK_005.
Do not use an ID created during an Ambient session for a Form filling session, or vice versa.
This endpoint is available only while the session is in the created state. After a successful upload, the session leaves this state. You cannot request another upload URL or overwrite the uploaded file for that session.
For the complete workflow, including when to provide session context and how to retrieve the generated content, refer to Upload a pre-recorded audio file.
To understand how audio_file compares with stream and transcript, refer to Session input types.
Upload contract
Upload the WAV file to presigned_url_response.url using an HTTP PUT request before the URL expires. The response includes presigned_url_response.expiry_in_minutes, which specifies how long the URL remains valid. For example, the URL may expire after 15 minutes.Include both signed headers in the PUT request:
Header
Required value
Content-Type
audio/wave
x-goog-if-generation-match
0
The following restrictions apply to the upload:
One file per session: Upload exactly one WAV file. Other audio formats are not supported.
Maximum file size: The WAV file must not exceed 500 MB.
No overwrites: The upload URL cannot be reused to overwrite the uploaded object. An overwrite attempt returns HTTP 412. Uploaded files are immutable.
No second upload: Once the file has been submitted successfully, you cannot mint another upload URL for the same session.
After the PUT request succeeds, poll status for the same product you created, or wait for your configured webhook. Use Get ambient session status for Ambient, or Form filling session status for Form filling. Once processing completes, retrieve content the same way you do for a streamed session on that product.
Upload response fields
Use the following fields from the response to complete and track the upload:
Field
Description
presigned_url_response.url
The one-time URL to which you send the WAV file using an HTTP PUT request.
presigned_url_response.expiry_in_minutes
The time, in minutes, for which the presigned URL remains valid. For example, 15.
presigned_url_response.id
Identifies the upload and is typically the session ID.
Errors for this endpoint
The following errors are specific to the audio file upload flow:
Error id
HTTP status
Cause
ING_SDK_005
412
The session input_type is not audio_file.
ING_SDK_006
412
Input has already been submitted for this session.
audio_file modality is not enabled
403
The audio_file input path is disabled for the environment.
import requests# Session must be created with input_type "audio_file" and still be created.# Use the Ambient or Form filling ambient_session_id for that product. Do not call end.BASE_URL = "https://sdp.suki.ai"ambient_session_id = "123dfg-456dfg-789dfg-012dfg"wav_path = "visit.wav" # one WAV, at most 500 MBheaders = { "sdp_suki_token": "<sdp_suki_token>", "sdp_provider_id": "<sdp_provider_id>", # Required for single_auth partners}mint = requests.get( f"{BASE_URL}/api/v1/ambient/audio/file-uploadurl/{ambient_session_id}", headers=headers, timeout=60,)mint.raise_for_status()presigned = mint.json()["presigned_url_response"]upload_url = presigned["url"]# Upload before presigned["expiry_in_minutes"] elapses (example: 15).with open(wav_path, "rb") as audio_file: put = requests.put( upload_url, data=audio_file, headers={ "Content-Type": "audio/wave", "x-goog-if-generation-match": "0", }, timeout=300, )put.raise_for_status()print( "Upload complete. Poll Ambient or Form filling status for this session, " "or wait for the webhook. Do not call end.")
// Session must be created with input_type "audio_file" and still be created.// Use the Ambient or Form filling ambient_session_id for that product. Do not call end.const BASE_URL = "https://sdp.suki.ai";const ambientSessionId = "123dfg-456dfg-789dfg-012dfg";const headers = { sdp_suki_token: "<sdp_suki_token>", sdp_provider_id: "<sdp_provider_id>", // Required for single_auth partners};const mint = await fetch( `${BASE_URL}/api/v1/ambient/audio/file-uploadurl/${ambientSessionId}`, { headers },);if (!mint.ok) { throw new Error(`Mint failed: ${mint.status} ${await mint.text()}`);}const { presigned_url_response: presigned } = await mint.json();// Upload before presigned.expiry_in_minutes elapses (example: 15).// Read the WAV bytes with your runtime (fs, Blob, File, and similar). One WAV, at most 500 MB.const wavBytes: BodyInit = /* Uint8Array | Blob | File */ new Uint8Array();const put = await fetch(presigned.url, { method: "PUT", headers: { "Content-Type": "audio/wave", "x-goog-if-generation-match": "0", }, body: wavBytes,});if (!put.ok) { throw new Error(`Upload failed: ${put.status} ${await put.text()}`);}console.log( "Upload complete. Poll Ambient or Form filling status for this session, or wait for the webhook. Do not call end.");
Authorizations
sdp_suki_token
string
header
required
Suki access token (suki_token) from Login or Register. Expires after one hour.
Headers
sdp_provider_id
string
Optional for standard partners.
Required for:
Bearer authentication. Use the same provider_id returned by the Login or Register API.
Single Auth Token authentication. Include the same provider_id on every request as sdp_provider_id.
Example:
"provider-123"
Path Parameters
ambient_session_id
string
required
Session ID from create. For Ambient, use the Ambient ambient_session_id. For Form filling, use the Form filling ambient_session_id. Do not mix the two.
Response
Request succeeded.
Response body for GET /api/v1/ambient/audio/file-uploadurl/{ambient_session_id}.
presigned_url_response
object
Presigned PUT URL and object location for an audio_file upload.
{
"code": 500,
"message": "internal server error"
}
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"Suki","colors":{"primary":"#6F5410","light":"#FFE148","dark":"#494949"},"logo":{"light":"https://mintcdn.com/suki-1e08f176/Ty1qetPx27FuOOjL/logo/nav-suki-dark.svg?fit=max\u0026auto=format\u0026n=Ty1qetPx27FuOOjL\u0026q=85\u0026s=5971f67d212fc42c3fb3cf10f0d453e7","dark":"https://mintcdn.com/suki-1e08f176/Ty1qetPx27FuOOjL/logo/nav-suki-light.svg?fit=max\u0026auto=format\u0026n=Ty1qetPx27FuOOjL\u0026q=85\u0026s=936e7fe54c056454e09bfd16280a3153","href":"/documentation/home"},"favicon":"https://mintcdn.com/suki-1e08f176/suQ4tYMQJoqGO4mm/new-favicon.ico?fit=max\u0026auto=format\u0026n=suQ4tYMQJoqGO4mm\u0026q=85\u0026s=0f501a8c0c628b548ac494292e0d91ea","api":{"playground":{"display":"interactive"},"examples":{"defaults":"all"}},"navbar":{"links":[]},"seo":{"metatags":{"og:type":"website","og:site_name":"Suki Developer Documentation","twitter:card":"summary_large_image","robots":"index, follow"},"indexing":"all"},"fonts":{"heading":{"family":"General Grotesque","weight":600,"source":"fonts/GeneralGrotesque-Demi.woff2","format":"woff2"},"body":{"family":"ABC Monument Grotesk","weight":400,"source":"fonts/ABCMonumentGrotesk-Regular.woff2","format":"woff2"}},"styling":{"codeblocks":{"theme":{"light":"one-light","dark":"material-theme-darker"}},"latex":false},"integrations":{"gtm":{"tagId":"GTM-5C5RJLJ"}},"banner":{"content":"**Get E/M codes recommendations to fast-track your RCM workflows**. [Learn more](/documentation/concepts/em-coding/overview)","dismissible":true},"contextual":{"options":["copy","view","perplexity","grok","cursor","devin","aistudio","windsurf","download-spec"],"display":"toc"},"thumbnails":{"appearance":"light","background":"https://mintcdn.com/suki-1e08f176/Ty1qetPx27FuOOjL/og-image/og-card-bg.png?fit=max\u0026auto=format\u0026n=Ty1qetPx27FuOOjL\u0026q=85\u0026s=a3642037c8c93d0a37a953467204d249"},"metadata":{"timestamp":true},"variables":{"releaseNotesSubscribeSubmitUrl":"https://script.google.com/macros/s/AKfycbxv2tdIdWMOBIUHcsYOnA0nfm9SFBamNLy-6lVJv9FHusbmCmbXes5glg8lOt6Jl9kv/exec"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"suki-1e08f176","hasAudioNarration":true,"actualSubdomain":"suki-1e08f176","customDomains":["developer.suki.ai"],"gitSource":{"type":"github","owner":"learningmotors","repo":"platform-documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b05580420d83e4a6efdbe19","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"SDKs","count":195},{"language":"default","tag":"Concepts \u0026 Feature Guides","count":150},{"language":"default","tag":"APIs","count":137},{"language":"default","tag":"Resources","count":115},{"language":"default","tag":"API References","count":108},{"language":"default","tag":"Docs","count":102},{"language":"default","tag":"Get Started","count":78},{"language":"default","tag":"Web SDK","count":68},{"language":"default","tag":"Ambient \u0026 Dictation APIs","count":62},{"language":"default","tag":"Releases","count":50}],"searchSettings":{"maxResults":8,"showContentSnippets":true,"isFiltersEnabled":false,"fullPageSearch":true}},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableAskAiSearchBar":false,"deflection":{"enabled":false,"email":"support@suki.ai","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"69525636593b9cdd2f0cf3e3","deploymentId":"67f04f31bc375eecad02726c","questionText":"How do I use the useAuth hook in the React SDK, and what auth parameters does it require?","status":"active","generatedBy":"manual","createdAt":"2025-12-29T10:21:42.883Z","updatedAt":"2025-12-29T10:21:42.883Z","__v":0},{"_id":"695255de593b9cdd2f0cf0b2","deploymentId":"67f04f31bc375eecad02726c","questionText":"What authentication mechanisms are supported by Suki APIs?","status":"active","generatedBy":"manual","createdAt":"2025-12-29T10:20:14.968Z","updatedAt":"2025-12-29T10:20:14.968Z","__v":0},{"_id":"695255d6593b9cdd2f0cf077","deploymentId":"67f04f31bc375eecad02726c","questionText":"How do I decide which integration option best fits my use case?","status":"active","generatedBy":"manual","createdAt":"2025-12-29T10:20:06.388Z","updatedAt":"2025-12-29T10:20:06.388Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/suki-1e08f176/0d29cdfc00205e0e/style.css"},{"filePath":"release-notes-print.css","content":"@media print{html.suki-print-monthly-release-notes #content-area .mdx-content{font-size:11pt!important;line-height:1.55!important;max-width:100%!important;color:#111827!important;-webkit-text-fill-color:#111827!important}html.suki-print-monthly-release-notes #content-area .mdx-content>p{color:#111827!important;-webkit-text-fill-color:#111827!important;margin-bottom:1rem!important}html.suki-print-monthly-release-notes #content-area .mdx-content>h2{break-after:avoid!important;page-break-after:avoid!important;margin-top:1.35rem!important;margin-bottom:0.65rem!important;color:#111827!important;-webkit-text-fill-color:#111827!important}html.suki-print-monthly-release-notes #content-area .mdx-content>h2:first-of-type{margin-top:0!important}html.suki-print-monthly-release-notes #content-area .update-container{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0.65rem!important;width:100%!important;max-width:100%!important;margin:0 0 1.15rem 0!important;padding:1rem 1.15rem 1.2rem!important;border:1px solid #e5e7eb!important;border-radius:0.65rem!important;background:#ffffff!important;background-color:#ffffff!important;box-shadow:none!important;break-inside:avoid!important;page-break-inside:avoid!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}html.suki-print-monthly-release-notes #content-area .update-container>div{width:100%!important;max-width:100%!important;flex:0 0 auto!important;position:static!important;top:auto!important;overflow:visible!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-label\"]{color:#111827!important;-webkit-text-fill-color:#111827!important;background:#fffdf5!important;border:1px solid rgba(111, 84, 16, 0.2)!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-description\"]{max-width:100%!important;color:#374151!important;-webkit-text-fill-color:#374151!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-tag-list\"],html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-tag\"]{color:#111827!important;-webkit-text-fill-color:#111827!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"]{color:#111827!important;-webkit-text-fill-color:#111827!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] h3,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] h4{break-after:avoid!important;page-break-after:avoid!important;color:#111827!important;-webkit-text-fill-color:#111827!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] h3.flex,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] h4.flex{display:block!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] p,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] li,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] td,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] th,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] span.cursor-pointer{color:#111827!important;-webkit-text-fill-color:#111827!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] a[href]{color:#0b57d0!important;-webkit-text-fill-color:#0b57d0!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] code{background:#f3f4f6!important;color:#1f2937!important;-webkit-text-fill-color:#1f2937!important;border:1px solid #e5e7eb!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] pre,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] pre code{background:#f9fafb!important;color:#111827!important;-webkit-text-fill-color:#111827!important;border:1px solid #e5e7eb!important}html.suki-print-monthly-release-notes #content-area .mdx-content>span[id]:empty{display:none!important}}"},{"filePath":"documentation/web-sdk-executive.css","href":"/_mintlify/custom/suki-1e08f176/f3bd8213e8f2aef7/documentation/web-sdk-executive.css"},{"filePath":"dictation-sdk/dictation-sdk-intro.css","content":"#content-area .dictation-sdk-intro{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:center;margin:0 0 1.75rem;border-bottom:1px solid rgba(15, 23, 42, 0.08)}#content-area .dictation-sdk-intro__copy{min-width:0}#content-area .dictation-sdk-intro__copy>p{margin:0}#content-area .dictation-sdk-intro__copy>p+p{margin-top:0.75rem}#content-area .dictation-sdk-intro__usecase{margin:1.5rem 0 0}#content-area .dictation-sdk-intro__visual{min-width:0;width:100%;line-height:0}#content-area .dictation-sdk-intro__visual img,#content-area .dictation-sdk-intro__visual [data-rmiz],#content-area .dictation-sdk-intro__visual [data-rmiz-content]{display:block;margin:0!important}#content-area .dictation-sdk-intro__visual img{width:100%;height:auto}#content-area .dictation-sdk-intro__visual .sdk-intro-img--light{display:block!important}#content-area .dictation-sdk-intro__visual .sdk-intro-img--dark{display:none!important}#content-area .dictation-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark){display:none!important}html.dark #content-area .dictation-sdk-intro__visual .sdk-intro-img--light,[data-theme=\"dark\"] #content-area .dictation-sdk-intro__visual .sdk-intro-img--light{display:none!important}html.dark #content-area .dictation-sdk-intro__visual .sdk-intro-img--dark,[data-theme=\"dark\"] #content-area .dictation-sdk-intro__visual .sdk-intro-img--dark{display:block!important}html.dark #content-area .dictation-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--light),[data-theme=\"dark\"] #content-area .dictation-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--light){display:none!important}html.dark #content-area .dictation-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark),[data-theme=\"dark\"] #content-area .dictation-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark){display:block!important}html.dark #content-area .dictation-sdk-intro,[data-theme=\"dark\"] #content-area .dictation-sdk-intro{border-bottom-color:rgba(255, 255, 255, 0.1)}@media (min-width: 960px){#content-area .dictation-sdk-intro{grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);gap:2rem;align-items:center}}"},{"filePath":"documentation/home-hero-stack.css","content":".sk-hs{margin:0;padding:0;width:100%;max-width:360px}.sk-hs svg{display:block;width:100%;height:auto;overflow:visible}.sk-hs-face-top{fill:#1f1f1e;stroke:#f6f2e4;stroke-width:1.25;stroke-linejoin:round}.sk-hs-face-side{fill:#121211;stroke:#f6f2e4;stroke-width:1.25;stroke-linejoin:round}.sk-hs-face-hatch{fill:url(#sk-hs-hatch);stroke:#f6f2e4;stroke-width:1.25;stroke-linejoin:round}.sk-hs-face-y{fill:#ffd447;stroke:#ffd447;stroke-width:1.25;stroke-linejoin:round}.sk-hs-face-side--y{fill:#b0921f;stroke:#ffd447}.sk-hs-int-marks rect{fill:#1c1c1c;opacity:0.45}.sk-hs-face-app{fill:#f6f2e4;stroke:#f6f2e4;stroke-width:1.25;stroke-linejoin:round}.sk-hs-face-app-side{fill:#d9d4c2;stroke:#f6f2e4;stroke-width:1.25;stroke-linejoin:round}.sk-hs-ui-dark{fill:#1c1c1c}.sk-hs-ui-dot{fill:#f6f2e4;opacity:0.7}.sk-hs-ui-mute{fill:#f6f2e4;opacity:0.35}.sk-hs-ui-frame{fill:none;stroke:#1c1c1c;stroke-width:1.25;opacity:0.8}.sk-hs-ui-line{fill:#1c1c1c;opacity:0.3}.sk-hs-ui-line--strong{opacity:0.8}.sk-hs-ui-cta{fill:#ffd447;stroke:#1c1c1c;stroke-width:1}.sk-hs-ui-cta-text{fill:#1c1c1c;opacity:0.85}.sk-hs-cube-t{fill:#f6f2e4;stroke:#1c1c1c;stroke-width:1;stroke-linejoin:round}.sk-hs-cube-l{fill:#8f8a79;stroke:#1c1c1c;stroke-width:1}.sk-hs-cube-r{fill:#c9c4b2;stroke:#1c1c1c;stroke-width:1}.sk-hs-glyph{color:#1c1c1c}.sk-hs-layer--inf{opacity:0;animation:sk-hs-inf 10s ease infinite}.sk-hs-layer--int{opacity:0;animation:sk-hs-int 10s ease infinite}.sk-hs-layer--plat{opacity:0;animation:sk-hs-plat 10s ease infinite}.sk-hs-layer--app{opacity:0;animation:sk-hs-app 10s ease infinite}@keyframes sk-hs-inf{0%,1%{opacity:0}8%,97%{opacity:1}100%{opacity:0}}@keyframes sk-hs-int{0%,8%{opacity:0}16%,97%{opacity:1}100%{opacity:0}}@keyframes sk-hs-plat{0%,16%{opacity:0}24%,97%{opacity:1}100%{opacity:0}}@keyframes sk-hs-app{0%,44%{opacity:0}52%,97%{opacity:1}100%{opacity:0}}.sk-hs-block{opacity:0;animation:sk-hs-block 10s ease infinite}.sk-hs-block--2{animation-delay:0.45s}.sk-hs-block--3{animation-delay:0.9s}.sk-hs-block--4{animation-delay:1.35s}@keyframes sk-hs-block{0%,24%{opacity:0}29%,97%{opacity:1}100%{opacity:0}}.sk-hs-ui>*{opacity:0;animation:sk-hs-ui 10s ease infinite}.sk-hs-ui>*:nth-child(n+2):nth-child(-n+4){animation-delay:0.1s}.sk-hs-ui>*:nth-child(n+5):nth-child(-n+8){animation-delay:0.25s}.sk-hs-ui>*:nth-child(n+9):nth-child(-n+13){animation-delay:0.45s}.sk-hs-ui>*:nth-child(n+14):nth-child(-n+17){animation-delay:0.65s}.sk-hs-ui>*:nth-child(n+18){animation-delay:0.85s}@keyframes sk-hs-ui{0%,54%{opacity:0}60%,97%{opacity:1}100%{opacity:0}}.sk-hs-ui .sk-hs-ui-dot{animation-name:sk-hs-ui-70}@keyframes sk-hs-ui-70{0%,54%{opacity:0}60%,97%{opacity:0.7}100%{opacity:0}}.sk-hs-ui .sk-hs-ui-mute{animation-name:sk-hs-ui-35}@keyframes sk-hs-ui-35{0%,54%{opacity:0}60%,97%{opacity:0.35}100%{opacity:0}}.sk-hs-ui .sk-hs-ui-line{animation-name:sk-hs-ui-30}@keyframes sk-hs-ui-30{0%,54%{opacity:0}60%,97%{opacity:0.3}100%{opacity:0}}.sk-hs-ui .sk-hs-ui-line--strong{animation-name:sk-hs-ui-80}.sk-hs-ui .sk-hs-ui-frame{animation-name:sk-hs-ui-80}@keyframes sk-hs-ui-80{0%,54%{opacity:0}60%,97%{opacity:0.8}100%{opacity:0}}.sk-hs-ui .sk-hs-ui-cta-text{animation-name:sk-hs-ui-85}@keyframes sk-hs-ui-85{0%,54%{opacity:0}60%,97%{opacity:0.85}100%{opacity:0}}.sk-hs-rise{fill:none;stroke:#ffd447;stroke-width:5;stroke-linecap:round;stroke-dasharray:0.35 2;stroke-dashoffset:1.35;opacity:0;animation:sk-hs-rise 10s cubic-bezier(0.4, 0, 0.6, 1) infinite}@keyframes sk-hs-rise{0%,66%{stroke-dashoffset:1.35;opacity:0}67%{opacity:1}80%{opacity:1}82%,100%{stroke-dashoffset:0;opacity:0}}@media (prefers-reduced-motion: reduce){.sk-hs *{animation:none!important}.sk-hs-layer--inf,.sk-hs-layer--int,.sk-hs-layer--plat,.sk-hs-layer--app,.sk-hs-block{opacity:1}.sk-hs-ui>*{opacity:1}.sk-hs-ui .sk-hs-ui-dot{opacity:0.7}.sk-hs-ui .sk-hs-ui-mute{opacity:0.35}.sk-hs-ui .sk-hs-ui-line{opacity:0.3}.sk-hs-ui .sk-hs-ui-line--strong,.sk-hs-ui .sk-hs-ui-frame{opacity:0.8}.sk-hs-rise{display:none}}"},{"filePath":"form-filling-sdk/form-filling-sdk-intro.css","content":"#content-area .form-filling-sdk-intro{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:center;margin:0 0 1.75rem;border-bottom:1px solid rgba(15, 23, 42, 0.08)}#content-area .form-filling-sdk-intro__copy{min-width:0}#content-area .form-filling-sdk-intro__copy>p{margin:0}#content-area .form-filling-sdk-intro__copy>p+p{margin-top:0.75rem}#content-area .form-filling-sdk-intro__usecase{margin:1.5rem 0 0}#content-area .form-filling-sdk-intro__visual{min-width:0;width:100%;line-height:0}#content-area .form-filling-sdk-intro__visual img,#content-area .form-filling-sdk-intro__visual [data-rmiz],#content-area .form-filling-sdk-intro__visual [data-rmiz-content]{display:block;margin:0!important}#content-area .form-filling-sdk-intro__visual img{width:100%;height:auto}#content-area .form-filling-sdk-intro__visual .sdk-intro-img--light{display:block!important}#content-area .form-filling-sdk-intro__visual .sdk-intro-img--dark{display:none!important}#content-area .form-filling-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark){display:none!important}html.dark #content-area .form-filling-sdk-intro__visual .sdk-intro-img--light,[data-theme=\"dark\"] #content-area .form-filling-sdk-intro__visual .sdk-intro-img--light{display:none!important}html.dark #content-area .form-filling-sdk-intro__visual .sdk-intro-img--dark,[data-theme=\"dark\"] #content-area .form-filling-sdk-intro__visual .sdk-intro-img--dark{display:block!important}html.dark #content-area .form-filling-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--light),[data-theme=\"dark\"] #content-area .form-filling-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--light){display:none!important}html.dark #content-area .form-filling-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark),[data-theme=\"dark\"] #content-area .form-filling-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark){display:block!important}html.dark #content-area .form-filling-sdk-intro,[data-theme=\"dark\"] #content-area .form-filling-sdk-intro{border-bottom-color:rgba(255, 255, 255, 0.1)}@media (min-width: 960px){#content-area .form-filling-sdk-intro{grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);gap:2rem;align-items:center}}"},{"filePath":"headless-web-sdk/headless-web-sdk-intro.css","content":"#content-area .headless-sdk-intro{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:center;margin:0 0 1.75rem;border-bottom:1px solid rgba(15, 23, 42, 0.08)}#content-area .headless-sdk-intro__copy{min-width:0}#content-area .headless-sdk-intro__copy>p{margin:0}#content-area .headless-sdk-intro__copy>p+p{margin-top:0.75rem}#content-area .headless-sdk-intro__usecase{margin:1.5rem 0 0}#content-area .headless-sdk-intro__visual{min-width:0;width:100%}html.dark #content-area .headless-sdk-intro,[data-theme=\"dark\"] #content-area .headless-sdk-intro{border-bottom-color:rgba(255, 255, 255, 0.1)}@media (min-width: 960px){#content-area .headless-sdk-intro{grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);gap:2rem;align-items:center}}"},{"filePath":"mobile-sdk/mobile-sdk-intro.css","content":"#content-area .mobile-sdk-intro{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:center;margin:0 0 1.75rem;border-bottom:1px solid rgba(15, 23, 42, 0.08)}#content-area .mobile-sdk-intro__copy{min-width:0}#content-area .mobile-sdk-intro__copy>p{margin:0}#content-area .mobile-sdk-intro__copy>p+p{margin-top:0.75rem}#content-area .mobile-sdk-intro__usecase{margin:1.5rem 0 0}#content-area .mobile-sdk-intro__visual{min-width:0;width:100%}html.dark #content-area .mobile-sdk-intro,[data-theme=\"dark\"] #content-area .mobile-sdk-intro{border-bottom-color:rgba(255, 255, 255, 0.1)}@media (min-width: 960px){#content-area .mobile-sdk-intro{grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);gap:2rem;align-items:center}}"},{"filePath":"web-sdk/web-sdk-intro.css","content":"#content-area .web-sdk-intro{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:center;margin:0 0 1.75rem;border-bottom:1px solid rgba(15, 23, 42, 0.08)}#content-area .web-sdk-intro__copy{min-width:0}#content-area .web-sdk-intro__copy>p{margin:0}#content-area .web-sdk-intro__copy>p+p{margin-top:0.75rem}#content-area .web-sdk-intro__usecase{margin:1.5rem 0 0}#content-area .web-sdk-intro__visual{min-width:0;width:100%;line-height:0}#content-area .web-sdk-intro__visual img,#content-area .web-sdk-intro__visual [data-rmiz],#content-area .web-sdk-intro__visual [data-rmiz-content]{display:block;margin:0!important}#content-area .web-sdk-intro__visual img{width:100%;height:auto}#content-area .web-sdk-intro__visual .sdk-intro-img--light{display:block!important}#content-area .web-sdk-intro__visual .sdk-intro-img--dark{display:none!important}#content-area .web-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark){display:none!important}html.dark #content-area .web-sdk-intro__visual .sdk-intro-img--light,[data-theme=\"dark\"] #content-area .web-sdk-intro__visual .sdk-intro-img--light{display:none!important}html.dark #content-area .web-sdk-intro__visual .sdk-intro-img--dark,[data-theme=\"dark\"] #content-area .web-sdk-intro__visual .sdk-intro-img--dark{display:block!important}html.dark #content-area .web-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--light),[data-theme=\"dark\"] #content-area .web-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--light){display:none!important}html.dark #content-area .web-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark),[data-theme=\"dark\"] #content-area .web-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark){display:block!important}html.dark #content-area .web-sdk-intro,[data-theme=\"dark\"] #content-area .web-sdk-intro{border-bottom-color:rgba(255, 255, 255, 0.1)}@media (min-width: 960px){#content-area .web-sdk-intro{grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);gap:2rem;align-items:center}}"},{"filePath":"icons/icons.css","href":"/_mintlify/custom/suki-1e08f176/bf1a37de3f6c5cc6/icons/icons.css"},{"filePath":"sdk-intro-annotated.css","content":"#content-area .sia{--sia-yellow: #ffe148;--sia-ink: #1b1b1b;--sia-line: #dbdbdb;--sia-card: #ffffff;--sia-stripe: #ebebe8;--sia-label: rgb(var(--gray-500, 115 114 112));--sia-text: rgb(var(--gray-900, 26 25 23));--sia-code-bg: #1b1b1b;--sia-tip-bg: #dbdbdb;--sia-tip-ink: #1b1b1b;--sia-leader: #1b1b1b;--sia-shadow: 0 1px 2px rgba(26, 25, 23, 0.04), 0 8px 24px rgba(26, 25, 23, 0.06);container-type:inline-size;margin:0;width:100%}html.dark #content-area .sia,[data-theme=\"dark\"] #content-area .sia{--sia-line: rgba(255, 255, 255, 0.12);--sia-card: #1e1e1c;--sia-stripe: rgba(255, 255, 255, 0.1);--sia-label: var(--suki-dark-text-muted);--sia-text: var(--suki-dark-text);--sia-code-bg: #0e0e0e;--sia-tip-bg: #41413f;--sia-tip-ink: #f4f4f4;--sia-leader: #a1a19f;--sia-shadow: 0 8px 24px rgba(0, 0, 0, 0.35)}#content-area .sia-scene{position:relative;max-width:460px;margin:0 auto;padding:14px 14px 24px}#content-area .sia-card{position:relative;border-radius:var(--suki-card-radius)}#content-area .sia-card--platform{z-index:1;margin-left:22%;height:116px;background:var(--sia-card);border:1px solid var(--sia-line);box-shadow:var(--sia-shadow)}#content-area .sia-card--app{z-index:2;width:94%;margin-top:-74px;background:var(--sia-code-bg);box-shadow:0 12px 24px rgba(26, 25, 23, 0.18)}html.dark #content-area .sia-card--app,[data-theme=\"dark\"] #content-area .sia-card--app{box-shadow:0 12px 24px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08)}#content-area .sia-card--result{z-index:3;width:68%;margin:-10px 0 0 32%}#content-area .sia-label{position:absolute;top:12px;right:14px;display:inline-flex;align-items:center;gap:6px;font-family:var(--suki-font-body);font-size:10px;font-weight:600;line-height:12px;letter-spacing:0.08em;text-transform:uppercase;color:var(--sia-label)}#content-area .sia-label::before{content:\"\";width:6px;height:6px;border-radius:50%;background:var(--sia-yellow)}#content-area .sia-card--app .sia-label{color:#a1a19f}#content-area .sia-stripes{display:flex;flex-direction:column;gap:7px;padding:14px}#content-area .sia-stripe-row{display:flex;gap:4px}#content-area .sia-stripe-row span{flex:none;height:4px;border-radius:2px;background:var(--sia-stripe)}#content-area .sia-stripe-row span.is-accent{background:var(--sia-yellow)}#content-area .sia-code{padding:36px 16px 4px;overflow-x:auto;font-size:11px;line-height:17px;color:#e1e1de;scrollbar-width:none}#content-area .sia-code::-webkit-scrollbar{display:none}#content-area .sia-code-line{white-space:pre}#content-area .sia-tk-k{color:#c792ea}#content-area .sia-tk-f{color:var(--sia-yellow)}#content-area .sia-tk-s{color:#c3e88d}#content-area .sia-tk-p{color:#f07178}#content-area .sia-tk-c{color:#7e7e7c;font-style:italic}#content-area a.sia-example{display:inline-flex;align-items:center;gap:2px;margin:10px 16px 16px;font-family:var(--suki-font-body);font-size:12px;font-weight:500;line-height:16px;color:#f4f4f4;border-bottom:1px solid rgba(244, 244, 244, 0.45);text-decoration:none;transition:color 0.15s ease, border-color 0.15s ease}#content-area a.sia-example:is(:hover,:focus-visible){color:var(--sia-yellow);border-bottom-color:var(--sia-yellow)}#content-area .sia-result{padding:14px 30px 14px 14px;border:1px solid var(--sia-line);border-radius:var(--suki-card-radius) var(--suki-card-radius) 0;background:var(--sia-card);box-shadow:var(--sia-shadow);font-family:var(--suki-font-body);font-size:13px;line-height:1.4;color:var(--sia-text)}#content-area .sia-mark{position:absolute;z-index:10;top:-12px;width:24px;height:24px}#content-area .sia-mark--1,#content-area .sia-mark--3{right:-12px}#content-area .sia-mark--2{left:-12px}#content-area .sia-dot{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:var(--sia-yellow);color:var(--sia-ink);font-family:var(--suki-font-body);font-size:12px;font-weight:600;line-height:1;cursor:pointer;animation:sia-pulse 2.4s ease-out infinite}#content-area .sia-mark--2 .sia-dot{animation-delay:0.8s}#content-area .sia-mark--3 .sia-dot{animation-delay:1.6s}#content-area .sia-dot:focus-visible{outline:2px solid var(--sia-yellow);outline-offset:2px}@keyframes sia-pulse{0%{box-shadow:0 0 0 0 rgba(255, 225, 72, 0.6)}70%{box-shadow:0 0 0 8px rgba(255, 225, 72, 0)}100%{box-shadow:0 0 0 0 rgba(255, 225, 72, 0)}}#content-area .sia-tip{position:absolute;bottom:calc(100% + 12px);display:none;width:max-content;max-width:min(328px, 92cqi);padding:4px 16px;border-radius:999px;background:var(--sia-tip-bg);font-family:var(--suki-font-body);font-size:14px;font-weight:400;line-height:18px;color:var(--sia-tip-ink);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}#content-area .sia-tip--left{right:0}#content-area .sia-tip--right{left:0}#content-area .sia-tip--center{left:50%;translate:-50% 0}#content-area .sia-mark::before{content:\"\";position:absolute;bottom:100%;left:11.5px;display:none;width:1px;height:12px;background:var(--sia-leader)}#content-area .sia-mark:hover .sia-tip,#content-area .sia-mark:has(.sia-dot:focus-visible) .sia-tip{display:block;animation:sia-tip-in 0.15s ease}#content-area .sia-mark:hover::before,#content-area .sia-mark:has(.sia-dot:focus-visible)::before{display:block}@keyframes sia-tip-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion: reduce){#content-area .sia-dot,#content-area .sia-mark:hover .sia-tip,#content-area .sia-mark:has(.sia-dot:focus-visible) .sia-tip{animation:none}}#content-area .sia-shot{position:relative;line-height:normal}#content-area .sia-shot-img,#content-area .sia-shot [data-rmiz],#content-area .sia-shot [data-rmiz-content]{display:block;width:100%;height:auto;margin:0!important}#content-area .sia-shot-img--dark,#content-area .sia-shot [data-rmiz]:has(.sia-shot-img--dark){display:none!important}html.dark #content-area .sia-shot-img--light,[data-theme=\"dark\"] #content-area .sia-shot-img--light,html.dark #content-area .sia-shot [data-rmiz]:has(.sia-shot-img--light),[data-theme=\"dark\"] #content-area .sia-shot [data-rmiz]:has(.sia-shot-img--light){display:none!important}html.dark #content-area .sia-shot-img--dark,[data-theme=\"dark\"] #content-area .sia-shot-img--dark,html.dark #content-area .sia-shot [data-rmiz]:has(.sia-shot-img--dark),[data-theme=\"dark\"] #content-area .sia-shot [data-rmiz]:has(.sia-shot-img--dark){display:block!important}#content-area .sia-shot .sia-mark{top:auto;right:auto;left:auto;margin:-12px 0 0 -12px}@container (max-width: 340px){#content-area .sia-code{font-size:10px;line-height:15px}#content-area .sia-card--app{width:100%}}"}]}
{"page":{"pagePath":"api-reference/ambient-sessions/file-uploadurl","slug":"/api-reference/ambient-sessions/file-uploadurl","pageMetadata":{"title":"Get Audio File Upload URL","sidebarTitle":"Get Audio File Upload URL","openapi":"GET /api/v1/ambient/audio/file-uploadurl/{ambient_session_id}","description":"Generate a one-time presigned PUT URL to upload a pre-recorded WAV for an audio_file Ambient or Form filling session","tag":"NEW","tagDate":"2026-11-23","href":"/api-reference/ambient-sessions/file-uploadurl"},"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: \"Generate a one-time presigned PUT URL to upload a pre-recorded WAV for an audio_file Ambient or Form filling session\"\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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Tab,Table,Tabs,Tip,Tooltip,Visibility,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);if(!Visibility)_missingMdxReference(`Visibility`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use this endpoint when you need to upload a pre-recorded WAV for an Ambient or Form filling session created with `,_jsx(_components.code,{children:`input_type`}),` set to `,_jsx(_components.code,{children:`audio_file`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Suki returns a one-time `,_jsx(Tooltip,{tip:`A time-limited HTTPS URL that authorizes a single upload to cloud storage without sharing long-lived credentials.`,children:`presigned URL`}),` that you use to upload the recording with an HTTP PUT request. Include both signed headers specified below.`]}),`\n`,_jsxs(_components.p,{children:[`After Suki receives the file successfully, it starts processing automatically. You do not need to call end session for `,_jsx(_components.code,{children:`audio_file`}),` sessions.`]}),`\n`,_jsx(Heading,{level:`2`,id:`choose-the-correct-session-id`,children:`Choose the correct session ID`}),`\n`,_jsx(_components.p,{children:`This endpoint supports both Ambient and Form filling:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Ambient:`}),` Pass the `,_jsx(_components.code,{children:`ambient_session_id`}),` of the Ambient session.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Form filling:`}),` Pass the `,_jsx(_components.code,{children:`ambient_session_id`}),` of the Form filling session.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Create the session with `,_jsx(_components.code,{children:`input_type: \"audio_file\"`}),` before requesting the upload URL. Calling this endpoint when the session `,_jsx(_components.code,{children:`input_type`}),` is not `,_jsx(_components.code,{children:`audio_file`}),` returns `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`ING_SDK_005`})}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Do not use an ID created during an Ambient session for a Form filling session, or vice versa.`})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint is available only while the session is in the `,_jsx(_components.strong,{children:`created`}),` state. After a successful upload, the session leaves this state. You cannot request another upload URL or overwrite the uploaded file for that session.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`For the complete workflow, including when to provide session context and how to retrieve the generated content, refer to `,_jsx(_components.a,{href:`/documentation/how-to/ambient-clinical-notes/upload-prerecorded-audio`,children:`Upload a pre-recorded audio file`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`To understand how `,_jsx(_components.code,{children:`audio_file`}),` compares with `,_jsx(_components.code,{children:`stream`}),` and `,_jsx(_components.code,{children:`transcript`}),`, refer to `,_jsx(_components.a,{href:`/documentation/concepts/ambient-clinical-notes/session-input-types`,children:`Session input types`}),`.`]}),`\n`]}),`\n`]})}),`\n`,_jsx(Heading,{level:`2`,id:`upload-contract`,children:`Upload contract`}),`\n`,_jsxs(_components.p,{children:[`Upload the WAV file to `,_jsx(_components.code,{children:`presigned_url_response.url`}),` using an HTTP PUT request before the URL expires. The response includes `,_jsx(_components.code,{children:`presigned_url_response.expiry_in_minutes`}),`, which specifies how long the URL remains valid. For example, the URL may expire after `,_jsx(_components.strong,{children:`15 minutes`}),`.`]}),`\n`,_jsx(_components.p,{children:`Include both signed headers in the PUT request:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Header`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Required value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`Content-Type`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`audio/wave`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`x-goog-if-generation-match`})}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`0`})})]})]})]}),`\n`,_jsx(_components.p,{children:`The following restrictions apply to the upload:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`One file per session:`}),` Upload exactly one WAV file. Other audio formats are not supported.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Maximum file size:`}),` The WAV file must not exceed `,_jsx(_components.strong,{children:`500 MB`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No overwrites:`}),` The upload URL cannot be reused to overwrite the uploaded object. An overwrite attempt returns `,_jsx(_components.strong,{children:`HTTP 412`}),`. Uploaded files are immutable.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No second upload:`}),` Once the file has been submitted successfully, you cannot mint another upload URL for the same session.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`After the PUT request succeeds, poll status for the same product you created, or wait for your configured webhook. Use `,_jsx(_components.a,{href:`/api-reference/ambient-content/status`,children:`Get ambient session status`}),` for Ambient, or `,_jsx(_components.a,{href:`/form-filling-api-reference/form-filling-sessions/status`,children:`Form filling session status`}),` for Form filling. Once processing completes, retrieve content the same way you do for a streamed session on that product.`]}),`\n`,_jsx(Heading,{level:`3`,id:`upload-response-fields`,children:`Upload response fields`}),`\n`,_jsx(_components.p,{children:`Use the following fields from the response to complete and track the upload:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Field`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`presigned_url_response.url`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`The one-time URL to which you send the WAV file using an HTTP PUT request.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`presigned_url_response.expiry_in_minutes`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`The time, in minutes, for which the presigned URL remains valid. For example, `,_jsx(_components.code,{children:`15`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`presigned_url_response.id`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Identifies the upload and is typically the session ID.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`errors-for-this-endpoint`,children:`Errors for this endpoint`}),`\n`,_jsx(_components.p,{children:`The following errors are specific to the audio file upload flow:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Error id`}),_jsx(_components.th,{style:{textAlign:`left`},children:`HTTP status`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Cause`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`ING_SDK_005`})}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:`412`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`The session `,_jsx(_components.code,{children:`input_type`}),` is not `,_jsx(_components.code,{children:`audio_file`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`ING_SDK_006`})}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:`412`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Input has already been submitted for this session.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`audio_file modality is not enabled`})}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:`403`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`The `,_jsx(_components.code,{children:`audio_file`}),` input path is disabled for the environment.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`For shared authentication and session errors, refer to `,_jsx(_components.a,{href:`/api-reference/error-messages`,children:`Error messages`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`To use the correct `,_jsx(_components.code,{children:`ambient_session_id`}),` for Ambient and Form filling transcript input and audio file uploads, refer to `,_jsx(_components.a,{href:`/api-reference/faqs/audio-capture-streaming#ambient-session-id-for-input-types`,children:`How should developers handle ambient_session_id for transcript input and audio file upload?`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`code-examples`,children:`Code examples`}),`\n`,_jsx(Visibility,{for:`agents`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Language tabs (agents):`}),` Equivalent code samples are available in: Python, TypeScript. Humans see one language at a time. Use the variant that matches the user’s stack; behavior is the same across tabs.`]})}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Python`,id:`python`,children:_jsx(CodeBlock,{filename:``,expandable:`true`,numberOfLines:`38`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes one-light material-theme-darker`,style:{backgroundColor:`#FAFAFA`,\"--shiki-dark-bg\":`#212121`,color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`38`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`import`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`# Session must be created with input_type \"audio_file\" and still be created.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`# Use the Ambient or Form filling ambient_session_id for that product. Do not call end.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`BASE_URL `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`https://sdp.suki.ai`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`ambient_session_id `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`123dfg-456dfg-789dfg-012dfg`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`wav_path `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`visit.wav`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` # one WAV, at most 500 MB`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`headers `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`sdp_suki_token`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003csdp_suki_token>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`sdp_provider_id`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003csdp_provider_id>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` # Required for single_auth partners`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`mint `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` requests`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`get`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:` f`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\"`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`{`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`BASE_URL`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`}`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`/api/v1/ambient/audio/file-uploadurl/`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`{`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`ambient_session_id`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`}`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#986801`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EEFFFF`,\"--shiki-dark-font-style\":`italic`},children:` headers`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`headers`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#986801`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EEFFFF`,\"--shiki-dark-font-style\":`italic`},children:` timeout`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`60`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`mint`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`raise_for_status`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`presigned `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` mint`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`json`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`()[`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`presigned_url_response`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`upload_url `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` presigned`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`[`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`url`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`# Upload before presigned[\"expiry_in_minutes\"] elapses (example: 15).`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`with`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#82AAFF`},children:` open`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`wav_path`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`rb`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`)`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` as`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` audio_file`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` put `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` requests`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`put`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:` upload_url`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#986801`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EEFFFF`,\"--shiki-dark-font-style\":`italic`},children:` data`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`audio_file`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#986801`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EEFFFF`,\"--shiki-dark-font-style\":`italic`},children:` headers`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`={`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`audio/wave`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`x-goog-if-generation-match`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`0`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#986801`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EEFFFF`,\"--shiki-dark-font-style\":`italic`},children:` timeout`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`300`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` )`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`put`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`raise_for_status`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#82AAFF`},children:`print`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Upload complete. Poll Ambient or Form filling status for this session, `}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`or wait for the webhook. Do not call end.`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`)`})}),`\n`]})})})}),_jsx(Tab,{title:`TypeScript`,id:`typescript`,children:_jsx(CodeBlock,{filename:``,expandable:`true`,numberOfLines:`39`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes one-light material-theme-darker`,style:{backgroundColor:`#FAFAFA`,\"--shiki-dark-bg\":`#212121`,color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`39`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`// Session must be created with input_type \"audio_file\" and still be created.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`// Use the Ambient or Form filling ambient_session_id for that product. Do not call end.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` BASE_URL`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`https://sdp.suki.ai`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` ambientSessionId`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`123dfg-456dfg-789dfg-012dfg`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` headers`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` sdp_suki_token`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003csdp_suki_token>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` sdp_provider_id`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003csdp_provider_id>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` // Required for single_auth partners`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` mint`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` await`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:` fetch`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:\" `\"}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:\"${\"}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:`BASE_URL`}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`/api/v1/ambient/audio/file-uploadurl/`}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:\"${\"}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`ambientSessionId`}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:\"`\"}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` headers `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`if`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` (`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`!`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`mint`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#EEFFFF`},children:`ok`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`) `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` throw`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#89DDFF`},children:` new`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:` Error`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:\"`\"}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Mint failed: `}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:\"${\"}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`mint`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#EEFFFF`},children:`status`}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:\" ${\"}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`await`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` mint`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`text`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`()`}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:\"`\"}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`}),_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` presigned_url_response`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` presigned`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` }`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` await`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` mint`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`json`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`()`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`// Upload before presigned.expiry_in_minutes elapses (example: 15).`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`// Read the WAV bytes with your runtime (fs, Blob, File, and similar). One WAV, at most 500 MB.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` wavBytes`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#C18401`,\"--shiki-dark\":`#FFCB6B`},children:` BodyInit`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` /* Uint8Array | Blob | File */`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#89DDFF`},children:` new`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:` Uint8Array`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`()`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` put`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` await`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:` fetch`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`(presigned`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#EEFFFF`},children:`url`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` method`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`PUT`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` headers`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#F07178`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`audio/wave`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#F07178`},children:`x-goog-if-generation-match`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`0`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` body`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` wavBytes`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`if`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` (`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`!`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`put`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#EEFFFF`},children:`ok`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`) `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` throw`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#89DDFF`},children:` new`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:` Error`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:\"`\"}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Upload failed: `}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:\"${\"}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`put`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#EEFFFF`},children:`status`}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:\" ${\"}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`await`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` put`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`text`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`()`}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:\"`\"}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`console`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`log`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Upload complete. Poll Ambient or Form filling status for this session, or wait for the webhook. Do not call end.`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`]})})})})]})]})}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":{"theme":{"light":"one-light","dark":"material-theme-darker"}},"config":{},"pageMetadata":{"title":"Get Audio File Upload URL","sidebarTitle":"Get Audio File Upload URL","openapi":"GET /api/v1/ambient/audio/file-uploadurl/{ambient_session_id}","description":"Generate a one-time presigned PUT URL to upload a pre-recorded WAV for an audio_file Ambient or Form filling session","tag":"NEW","tagDate":"2026-11-23","href":"/api-reference/ambient-sessions/file-uploadurl"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Choose the correct session ID","slug":"choose-the-correct-session-id","depth":2,"children":[]},{"title":"Upload contract","slug":"upload-contract","depth":2,"children":[{"title":"Upload response fields","slug":"upload-response-fields","depth":3,"children":[]}]},{"title":"Errors for this endpoint","slug":"errors-for-this-endpoint","depth":2,"children":[]},{"title":"Code examples","slug":"code-examples","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/suki-1e08f176/4be3b3db5ccd0660/scripts/export-pdf.js","/_mintlify/custom/suki-1e08f176/6c8a275827cf1d9b/scripts/install-copy.js","/_mintlify/custom/suki-1e08f176/72d2f1f9d56b13c1/scripts/read-time.js","/_mintlify/custom/suki-1e08f176/d1af89e3040fe9a9/scripts/release-notes-print-scope.js","/_mintlify/custom/suki-1e08f176/001605b6d16dbecc/scripts/wide-content.js","/_mintlify/custom/suki-1e08f176/0a68e6012e9228cb/scripts/mcp-navbar-dropdown.js","/_mintlify/custom/suki-1e08f176/c482ec34be0d4330/scripts/sdk-tab-menu-beta-badges.js","/_mintlify/custom/suki-1e08f176/ff2c529b4c57e28f/scripts/sidebar-collapse.js","/_mintlify/custom/suki-1e08f176/1e7ebb443c7665b4/scripts/suki-spa-navigation.js","/_mintlify/custom/suki-1e08f176/e3208b12ce3b9174/scripts/api-changelog-filter.js","/_mintlify/custom/suki-1e08f176/93753e94d24c350e/scripts/api-tab-menu-new-badge.js","/_mintlify/custom/suki-1e08f176/4b5b55036138115a/scripts/body-font-size.js","/_mintlify/custom/suki-1e08f176/390096554f95c282/scripts/focus-mode.js","/_mintlify/custom/suki-1e08f176/a2cf4e93f850e8d0/scripts/glossary-index-data.js","/_mintlify/custom/suki-1e08f176/12ad9593ccfa169d/scripts/more-from-suki-navbar-dropdown.js","/_mintlify/custom/suki-1e08f176/c2a5808cb06007b7/scripts/multilingual-lang-filter.js","/_mintlify/custom/suki-1e08f176/cb9d9ea4984a3d55/scripts/release-notes-subscribe.js","/_mintlify/custom/suki-1e08f176/d7841b244465e802/scripts/specialties-table-search.js","/_mintlify/custom/suki-1e08f176/a77e57b790140262/scripts/use-case-explorer.js","/_mintlify/custom/suki-1e08f176/2cba09c3c9f8f9e3/scripts/suki-doc-footer.js","/_mintlify/custom/suki-1e08f176/ea4cb415e5e32d91/scripts/toc-scroll-sync.js","/_mintlify/custom/suki-1e08f176/4b6417cd39bc5920/scripts/api-error-messages-filter.js","/_mintlify/custom/suki-1e08f176/4109401e9dc16eac/scripts/docs-survey-config.js","/_mintlify/custom/suki-1e08f176/8f8c6099fd0692dc/scripts/docs-survey.js","/_mintlify/custom/suki-1e08f176/1e15b615811bf697/scripts/chatbot-assistant-bridge.js","/_mintlify/custom/suki-1e08f176/5254a260e068b642/scripts/glossary-letter-anchors.js","/_mintlify/custom/suki-1e08f176/2a41160d508509fc/scripts/reader-controls-routes.js","/_mintlify/custom/suki-1e08f176/d34f2dc00aa36fbb/scripts/release-notes-jump-timeline-data.js","/_mintlify/custom/suki-1e08f176/eeef45401063faa8/suki-chatbot.js","/_mintlify/custom/suki-1e08f176/8a5d72e2a4e674c7/scripts/doc-tutorial-full-code.js","/_mintlify/custom/suki-1e08f176/794edff5f569a756/scripts/faq-index-data.js","/_mintlify/custom/suki-1e08f176/1a06e4a273425045/scripts/suki-desktop-theme-switcher.js","/_mintlify/custom/suki-1e08f176/315b0f1c3b404b39/scripts/tut-hub.js","/_mintlify/custom/suki-1e08f176/1b51d8358a57117f/scripts/agent-skill-versions-data.js","/_mintlify/custom/suki-1e08f176/040eb4dd4f03bda3/scripts/install-skill.js","/_mintlify/custom/suki-1e08f176/6fee53def4fdd798/scripts/learn-tab-menu-new-badge.js","/_mintlify/custom/suki-1e08f176/345c3e051be6efca/scripts/cb-recipe-run.js","/_mintlify/custom/suki-1e08f176/21a9a9a679589e3d/scripts/home-hero-search.js","/_mintlify/custom/suki-1e08f176/e2d26e3a514fea6f/scripts/code-block-wrap.js","/_mintlify/custom/suki-1e08f176/6434747cfc0d06d6/scripts/home-learn-counts-data.js","/_mintlify/custom/suki-1e08f176/e4415d295279aac2/scripts/home-learn-promo.js","/_mintlify/custom/suki-1e08f176/f41e61257722aa94/scripts/mermaid-loading.js","/_mintlify/custom/suki-1e08f176/39e890ec91cca9fc/scripts/recently-viewed-sticky.js","/_mintlify/custom/suki-1e08f176/e013ee85bb9e1225/scripts/resources-tab-menu-badges.js","/_mintlify/custom/suki-1e08f176/00c48a0061f3a708/scripts/tut-card-media.js","/_mintlify/custom/suki-1e08f176/2c40099d31951650/scripts/tut-code-explorer.js","/_mintlify/custom/suki-1e08f176/9d36463e0c1488d3/scripts/page-tools.js","/_mintlify/custom/suki-1e08f176/feb8015f7ceb3efd/scripts/support-mailto-draft.js","/_mintlify/custom/suki-1e08f176/ba5685f8ce7f1983/scripts/web-sdk-changelog-filter.js","/_mintlify/custom/suki-1e08f176/825b51377a225325/scripts/webhook-event-catalog.js","/_mintlify/custom/suki-1e08f176/caa39cf40c97e411/scripts/banner-link-new-tab.js","/_mintlify/custom/suki-1e08f176/fb79091ffa88c247/scripts/doc-type-title-badge.js","/_mintlify/custom/suki-1e08f176/3ac53df42033b038/scripts/doc-type-title-data.js","/_mintlify/custom/suki-1e08f176/48d7efd57079230a/scripts/mobile-toc-bar.js","/_mintlify/custom/suki-1e08f176/b267370f5e9a0dd5/scripts/page-loading-indicator.js","/_mintlify/custom/suki-1e08f176/eb22eddc4a8bf2d0/scripts/find-search-map-data.js","/_mintlify/custom/suki-1e08f176/687cf29e27fc0446/scripts/mintlify-search-filters.js"],"narration":{"path":"api-reference/ambient-sessions/file-uploadurl","locale":"en","estimatedDurationSec":201},"openApiReferenceData":{"operation":{"tags":["/api/v1/ambient/audio"],"summary":"Gets a presigned URL to upload a pre-recorded audio file.","description":"Generate a one-time presigned PUT URL to upload a pre-recorded WAV for an audio_file Ambient or Form filling session","parameters":["0e65573c-4946-4d72-aa93-1374a7e7bdac","5691605c-5d55-4b3d-ae30-587e24d97b5c"],"responses":{"200":"f1280711-d2f4-43a4-b48f-af0c65e7f9cd","400":"3ee03772-9a8f-4e07-85df-33c39df2965e","401":"f7e755c2-ecc9-4695-90d9-82f43171cf12","403":"53afab22-97cf-44f1-9976-42d3535380bb","404":"8cfd5376-7465-4fe4-92f2-155d3014feca","412":"06f57d10-6087-484c-a50c-0fbb3a5212f5","500":"b045b9aa-4394-407f-9d49-7d295eb2666d"},"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl --request GET \\\n --url https://sdp.suki.ai/api/v1/ambient/audio/file-uploadurl/\u003cambient_session_id> \\\n --header 'sdp_suki_token: \u003csdp_suki_token>' \\\n --header 'sdp_provider_id: \u003csdp_provider_id>'"}],"security":["608b71a4-c330-46e7-887b-47c84698adff"],"method":"get","type":"path","servers":["84557c11-3940-452f-b576-cd4a21a3d775"],"path":"/api/v1/ambient/audio/file-uploadurl/{ambient_session_id}","baseUrlOptions":["https://sdp.suki.ai"],"title":"Gets a presigned URL to upload a pre-recorded audio file.","codeSamples":[{"label":"cURL","lang":"bash","source":"curl --request GET \\\n --url https://sdp.suki.ai/api/v1/ambient/audio/file-uploadurl/\u003cambient_session_id> \\\n --header 'sdp_suki_token: \u003csdp_suki_token>' \\\n --header 'sdp_provider_id: \u003csdp_provider_id>'"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"0e65573c-4946-4d72-aa93-1374a7e7bdac":{"name":"ambient_session_id","in":"path","description":"Session ID from create. For Ambient, use the Ambient `ambient_session_id`. For Form filling, use the Form filling `ambient_session_id`. Do not mix the two.","required":true,"schema":{"type":"string","isRequired":true,"description":"Session ID from create. For Ambient, use the Ambient `ambient_session_id`. For Form filling, use the Form filling `ambient_session_id`. Do not mix the two.","uniqueKey":"","typeLabel":"string"}},"5691605c-5d55-4b3d-ae30-587e24d97b5c":{"name":"sdp_provider_id","in":"header","description":"**Optional** for standard partners.\n\n**Required** for:\n\n- **Bearer authentication.** Use the same `provider_id` returned by the Login or Register API.\n- **Single Auth Token authentication.** Include the same `provider_id` on every request as `sdp_provider_id`.","required":false,"schema":{"type":"string","example":"provider-123","isRequired":false,"description":"**Optional** for standard partners.\n\n**Required** for:\n\n- **Bearer authentication.** Use the same `provider_id` returned by the Login or Register API.\n- **Single Auth Token authentication.** Include the same `provider_id` on every request as `sdp_provider_id`.","uniqueKey":"","typeLabel":"string"}}},"responses":{"f1280711-d2f4-43a4-b48f-af0c65e7f9cd":{"description":"Request succeeded.","content":{"application/json":{"schema":{"type":"object","description":"Response body for GET /api/v1/ambient/audio/file-uploadurl/{ambient_session_id}.","properties":{"presigned_url_response":{"type":"object","description":"Presigned PUT URL and object location for an `audio_file` upload.","properties":{"id":{"type":"string","description":"Tracking id for the upload. Typically the ambient session id.","example":"dd161483-850b-4c95-a327-75fee2de02e3","uniqueKey":"presigned_url_response.id","typeLabel":"string"},"url":{"type":"string","description":"Presigned PUT URL. PUT the WAV with both signed headers: `Content-Type: audio/wave` and `x-goog-if-generation-match: 0`.","example":"https://storage.googleapis.com/...","uniqueKey":"presigned_url_response.url","typeLabel":"string"},"expiry_in_minutes":{"type":"integer","description":"Minutes until the URL expires. Read this value from the response and upload before it elapses.","example":15,"uniqueKey":"presigned_url_response.expiry_in_minutes","typeLabel":"integer"},"bucket_name":{"type":"string","description":"Destination bucket.","example":"payattention-platform-suki-dev-02","uniqueKey":"presigned_url_response.bucket_name","typeLabel":"string"},"file_name":{"type":"string","description":"Object path in the bucket.","example":"AUDIT/.../session.wav","uniqueKey":"presigned_url_response.file_name","typeLabel":"string"}},"uniqueKey":"presigned_url_response","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"presigned_url_response":{"id":"dd161483-850b-4c95-a327-75fee2de02e3","url":"https://storage.googleapis.com/...","expiry_in_minutes":15,"bucket_name":"payattention-platform-suki-dev-02","file_name":"AUDIT/.../session.wav"}},"examples":{"Example":{"title":"Example","value":{"presigned_url_response":{"id":"dd161483-850b-4c95-a327-75fee2de02e3","url":"https://storage.googleapis.com/...","expiry_in_minutes":15,"bucket_name":"payattention-platform-suki-dev-02","file_name":"AUDIT/.../session.wav"}}}},"exampleType":"examples"}},"exampleType":"examples"},"3ee03772-9a8f-4e07-85df-33c39df2965e":{"description":"Bad request. Request validation failed.","content":{"application/json":{"schema":{"description":"Bad Request Response","type":"object","properties":{"code":{"type":"integer","example":400,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"invalid request","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":400,"message":"invalid request"}}},"exampleType":"generated"}},"exampleType":"generated"},"f7e755c2-ecc9-4695-90d9-82f43171cf12":{"description":"Unauthorized. The Suki access token is missing, expired, or invalid.","content":{"application/json":{"schema":{"description":"Authentication Failure Response","type":"object","properties":{"code":{"type":"integer","example":401,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"invalid token","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":401,"message":"invalid token"}}},"exampleType":"generated"}},"exampleType":"generated"},"53afab22-97cf-44f1-9976-42d3535380bb":{"description":"Forbidden.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","example":403,"description":"HTTP status code for the error.","uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"forbidden","description":"Human-readable description of the authorization failure.","uniqueKey":"message","typeLabel":"string"}},"description":"Error response when the caller lacks permission.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":403,"message":"forbidden"}}},"exampleType":"generated"}},"exampleType":"generated"},"8cfd5376-7465-4fe4-92f2-155d3014feca":{"description":"Not found. The session ID does not exist.","content":{"application/json":{"schema":{"description":"Not Found Response","type":"object","properties":{"code":{"type":"integer","example":404,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"not found","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":404,"message":"not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"06f57d10-6087-484c-a50c-0fbb3a5212f5":{"description":"Failed precondition. Includes ING_SDK_005 (input_type mismatch) and ING_SDK_006 (input already submitted).","content":{"application/json":{"schema":{"description":"Bad Request Response","type":"object","properties":{"code":{"type":"integer","example":400,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"invalid request","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":400,"message":"invalid request"}}},"exampleType":"generated"}},"exampleType":"generated"},"b045b9aa-4394-407f-9d49-7d295eb2666d":{"description":"Internal server error.","content":{"application/json":{"schema":{"description":"Internal Server Error Response","type":"object","properties":{"code":{"type":"integer","example":500,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"internal server error","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":500,"message":"internal server error"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"608b71a4-c330-46e7-887b-47c84698adff":{"SukiTokenAuth":{"type":"apiKey","in":"header","name":"sdp_suki_token","description":"Suki access token (`suki_token`) from Login or Register. Expires after one hour.","scopes":[],"schemeName":"SukiTokenAuth"}}},"servers":{"84557c11-3940-452f-b576-cd4a21a3d775":{"url":"https://sdp.suki.ai","description":"Production base URL for Suki Developer Platform REST APIs. WebSocket endpoints use the same host with `wss://`."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"sdp_suki_token","description":"Suki access token (`suki_token`) from Login or Register. Expires after one hour.","scopes":[],"schemeName":"SukiTokenAuth"},"schema":{"title":"sdp_suki_token","type":"string","description":"Suki access token (`suki_token`) from Login or Register. Expires after one hour.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"SukiTokenAuth","name":"sdp_suki_token"}],"title":"SukiTokenAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"suki-1e08f176","siteName":"Suki","title":"Get Audio File Upload URL - Suki","relatedPagesConfig":{"enabled":false,"limit":3,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T09:27:17.455Z","gitLastModified":"2026-11-24T09:25:20.000Z","originalFileLocation":"api-reference/ambient-sessions/file-uploadurl.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=\"Generate a one-time presigned PUT URL to upload a pre-recorded WAV for an audio_file Ambient or Form filling session\">\u003cmeta data-mint-head name=\"application-name\" content=\"Suki\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Audio File Upload URL - Suki\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate a one-time presigned PUT URL to upload a pre-recorded WAV for an audio_file Ambient or Form filling session\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Suki Developer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.suki.ai/api-reference/ambient-sessions/file-uploadurl\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://suki-1e08f176.mintlify.site/_mintlify/api/og/v2?division=Ambient+Session+Management\u0026amp;title=Get+Audio+File+Upload+URL\u0026amp;description=Generate+a+one-time+presigned+PUT+URL+to+upload+a+pre-recorded+WAV+for+an+audio_file+Ambient+or+Form+filling+session\u0026amp;theme=76261d2c4c9044755aea96d5\u0026amp;signature=c07347761a94a527932634e9fadbed91156730c56b236706224f7e6139e1e435\">\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=\"Get Audio File Upload URL - Suki\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate a one-time presigned PUT URL to upload a pre-recorded WAV for an audio_file Ambient or Form filling session\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://suki-1e08f176.mintlify.site/_mintlify/api/og/v2?division=Ambient+Session+Management\u0026amp;title=Get+Audio+File+Upload+URL\u0026amp;description=Generate+a+one-time+presigned+PUT+URL+to+upload+a+pre-recorded+WAV+for+an+audio_file+Ambient+or+Form+filling+session\u0026amp;theme=76261d2c4c9044755aea96d5\u0026amp;signature=c07347761a94a527932634e9fadbed91156730c56b236706224f7e6139e1e435\">\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/suki-1e08f176/chwSqXoYdzbBLOrz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Suki\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6F5410\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.suki.ai/api-reference/ambient-sessions/file-uploadurl\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/ambient-sessions/file-uploadurl.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.suki.ai/#organization\",\"name\":\"Suki\",\"url\":\"https://developer.suki.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/suki-1e08f176/Ty1qetPx27FuOOjL/logo/nav-suki-dark.svg?fit=max\u0026auto=format\u0026n=Ty1qetPx27FuOOjL\u0026q=85\u0026s=5971f67d212fc42c3fb3cf10f0d453e7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.suki.ai#website\",\"name\":\"Suki\",\"url\":\"https://developer.suki.ai\",\"publisher\":{\"@id\":\"https://developer.suki.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.suki.ai/api-reference/ambient-sessions/file-uploadurl#webpage\",\"url\":\"https://developer.suki.ai/api-reference/ambient-sessions/file-uploadurl\",\"name\":\"Get Audio File Upload URL\",\"description\":\"Generate a one-time presigned PUT URL to upload a pre-recorded WAV for an audio_file Ambient or Form filling session\",\"dateModified\":\"2026-11-24T09:25:20.000Z\",\"isPartOf\":{\"@id\":\"https://developer.suki.ai#website\"},\"breadcrumb\":{\"@id\":\"https://developer.suki.ai/api-reference/ambient-sessions/file-uploadurl#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.suki.ai/api-reference/ambient-sessions/file-uploadurl#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API References\",\"item\":\"https://developer.suki.ai/api-reference/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ambient Session Management\",\"item\":\"https://developer.suki.ai/api-reference/ambient-session-management\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get Audio File Upload URL\",\"item\":\"https://developer.suki.ai/api-reference/ambient-sessions/file-uploadurl\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.suki.ai/api-reference/ambient-sessions/file-uploadurl#apireference\",\"headline\":\"Get Audio File Upload URL\",\"name\":\"Get Audio File Upload URL\",\"description\":\"Generate a one-time presigned PUT URL to upload a pre-recorded WAV for an audio_file Ambient or Form filling session\",\"url\":\"https://developer.suki.ai/api-reference/ambient-sessions/file-uploadurl\",\"mainEntityOfPage\":{\"@id\":\"https://developer.suki.ai/api-reference/ambient-sessions/file-uploadurl#webpage\"},\"dateModified\":\"2026-11-24T09:25:20.000Z\",\"publisher\":{\"@id\":\"https://developer.suki.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.suki.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Suki\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Suki\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/ambient-sessions/file-uploadurl.md","siteName":"Suki","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/documentation/home"}]},{"tab":"Docs","pages":[{"title":"Docs","href":"/documentation/get-started/overview"}]},{"tab":"SDKs","menu":[{"item":"Suki SDKs Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/rocket_launch.svg","pages":[{"title":"Suki SDKs Overview","href":"/sdk-overview/overview"}]},{"item":"Web SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/deployed_code.svg","pages":[{"title":"Web SDK","href":"/web-sdk"}]},{"item":"Mobile SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/smartphone.svg","pages":[{"title":"Mobile SDK","href":"/mobile-sdk"}]},{"item":"Headless Web SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/script.svg","pages":[{"title":"Headless Web SDK","href":"/headless-web-sdk"}]},{"item":"Dictation SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/mic.svg","pages":[{"title":"Dictation SDK","href":"/dictation-sdk"}]},{"item":"Form Filling SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/note.svg","pages":[{"title":"Form Filling SDK","href":"/form-filling-sdk"}]}],"pages":[{"title":"SDKs","href":"/sdk-overview/overview"}]},{"tab":"APIs","menu":[{"item":"Suki APIs Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/rocket_launch.svg","pages":[{"title":"Suki APIs Overview","href":"/api-overview/overview"}]},{"item":"Ambient \u0026 Dictation APIs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/script.svg","groups":[{"group":"Get Started","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/rocket_launch.svg","pages":[{"title":"Ambient \u0026 Dictation APIs Overview","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/menu_book.svg","href":"/api-reference/overview"},{"title":"Ambient API Quickstart","sidebarTitle":"Quickstart","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/rocket_launch.svg","href":"/api-reference/quickstart"},{"title":"Ambient \u0026 Dictation Error Messages","sidebarTitle":"Error Messages","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/caution.svg","href":"/api-reference/error-messages"},{"title":"Ambient \u0026 Dictation APIs Changelog","sidebarTitle":"Changelog","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/activity.svg","href":"/api-reference/product-updates/changelog"}]},{"group":"API References","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/script.svg","pages":[{"group":"Authentication","pages":[{"title":"Authentication APIs","sidebarTitle":"Overview","href":"/api-reference/authentication"},{"title":"Register","sidebarTitle":"Register","openapi":"POST /api/v1/auth/register","href":"/api-reference/authentication/register"},{"title":"Login","sidebarTitle":"Login","openapi":"POST /api/v1/auth/login","href":"/api-reference/authentication/login"},{"title":"JWKS URL","openapi":"GET /api/auth/.well-known/jwks-pub.json","href":"/api-reference/authentication/jwks"}]},{"group":"Ambient Session Management","pages":[{"title":"Ambient Session Management APIs","sidebarTitle":"Overview","href":"/api-reference/ambient-session-management"},{"title":"Create Ambient Session","sidebarTitle":"Create Ambient Session","openapi":"POST /api/v1/ambient/session/create","href":"/api-reference/ambient-sessions/create"},{"title":"Seed Ambient Session Context","sidebarTitle":"Seed Ambient Session Context","openapi":"POST /api/v1/ambient/session/{ambient_session_id}/context","tag":"UPDATED","href":"/api-reference/ambient-sessions/context"},{"title":"Update Ambient Session Context","sidebarTitle":"Update Ambient Session Context","openapi":"PATCH /api/v1/ambient/session/{ambient_session_id}/context","tag":"UPDATED","href":"/api-reference/ambient-sessions/update-context"},{"title":"Ambient Session Metadata","sidebarTitle":"Ambient Session Metadata","openapi":"POST /api/v1/ambient/session/{ambient_session_id}/metadata","tag":"DEPRECATED","href":"/api-reference/ambient-sessions/metadata"},{"title":"Audio Streaming","sidebarTitle":"Audio Streaming","openapi":"GET /ws/stream","description":"WebSocket endpoint for real-time audio streaming during Ambient sessions","tag":"WS","href":"/api-reference/ambient-sessions/audio-stream"},{"title":"Get Audio File Upload URL","sidebarTitle":"Get Audio File Upload URL","openapi":"GET /api/v1/ambient/audio/file-uploadurl/{ambient_session_id}","tag":"NEW","href":"/api-reference/ambient-sessions/file-uploadurl"},{"title":"Submit Transcript Input","sidebarTitle":"Submit Transcript Input","openapi":"POST /api/v1/ambient/session/{ambient_session_id}/transcript-input","description":"Submit finished transcript text for an Ambient or Form filling session created with input_type transcript","tag":"NEW","href":"/api-reference/ambient-sessions/transcript-input"},{"title":"End Ambient Session","sidebarTitle":"End Ambient Session","openapi":"POST /api/v1/ambient/session/{ambient_session_id}/end","href":"/api-reference/ambient-sessions/end"}]},{"group":"Dictation","pages":[{"title":"Dictation APIs","sidebarTitle":"Overview","href":"/api-reference/ambient-dictation"},{"title":"Create Dictation Session","sidebarTitle":"Create Dictation Session","openapi":"POST /api/v1/transcription/session/create","href":"/api-reference/audio-transcription/create-session"},{"title":"Dictation Session Streaming","sidebarTitle":"Stream Dictation Session Audio","openapi":"GET /ws/transcribe","tag":"WS","href":"/api-reference/audio-transcription/stream-transcription"},{"title":"End Dictation Session","sidebarTitle":"End Dictation Session","openapi":"POST /api/v1/transcription/session/{transcription_session_id}/end","href":"/api-reference/audio-transcription/end-session"},{"group":"Content Rewrite","pages":[{"title":"Rewrite Content","sidebarTitle":"Rewrite Content","openapi":"POST /api/v1/content/rewrite","tag":"New","href":"/api-reference/content/rewrite"}]}]},{"group":"Ambient Content Retrieval","pages":[{"title":"Ambient Content Retrieval APIs","sidebarTitle":"Overview","href":"/api-reference/ambient-content-retrieval"},{"title":"Get Ambient Session Status","sidebarTitle":"Ambient Session Status","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/status","href":"/api-reference/ambient-content/status"},{"title":"Get Session Transcript","sidebarTitle":"Ambient Session Transcript","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/transcript","href":"/api-reference/ambient-content/transcript"},{"title":"Get Ambient Session Recording","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/recording","sidebarTitle":"Ambient Session Recording","href":"/api-reference/ambient-content/recording"},{"title":"Get Ambient Session Content","sidebarTitle":"Ambient Session Content","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/content","href":"/api-reference/ambient-content/content"},{"title":"Get Ambient Encounter Content","sidebarTitle":"Ambient Encounter Content","openapi":"GET /api/v1/ambient/encounter/{encounter_id}/content","href":"/api-reference/ambient-content/encounter-content"},{"title":"Get Ambient Session Structured Data","sidebarTitle":"Ambient Session Structured Data","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/structured-data","tag":"UPDATED","href":"/api-reference/ambient-content/structured-data"},{"title":"Get Ambient Encounter Structured Data","sidebarTitle":"Ambient Encounter Structured Data","openapi":"GET /api/v1/ambient/encounter/{encounter_id}/structured-data","tag":"UPDATED","href":"/api-reference/ambient-content/encounter-structured-data"},{"title":"Get Ambient Session Section Structured Data","sidebarTitle":"Ambient Session Section Structured Data","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/structured-data/section-structured-data","tag":"NEW","href":"/api-reference/ambient-content/section-structured-data"},{"title":"Get Ambient Encounter Section Structured Data","sidebarTitle":"Ambient Encounter Section Structured Data","openapi":"GET /api/v1/ambient/encounter/{encounter_id}/structured-data/section-structured-data","tag":"NEW","href":"/api-reference/ambient-content/encounter-section-structured-data"},{"title":"List Encounter Notes","sidebarTitle":"List Encounter Notes","openapi":"GET /api/v1/ambient/encounter/{emr_encounter_id}/notes","href":"/api-reference/ambient-content/list-encounter-notes"},{"title":"Get Note Content","sidebarTitle":"Note Content","openapi":"GET /api/v1/ambient/note/{note_id}/content","href":"/api-reference/ambient-content/note-content"},{"title":"Get Note Context","sidebarTitle":"Note Context","openapi":"GET /api/v1/ambient/note/{note_id}/context","href":"/api-reference/ambient-content/note-context"},{"title":"Get Note Structured Data","sidebarTitle":"Note Structured Data","openapi":"GET /api/v1/ambient/note/{note_id}/structured-data","href":"/api-reference/ambient-content/note-structured-data"},{"title":"Retrieve E/M Codes Using Ambient Session ID","sidebarTitle":"E/M Codes Using Ambient Session ID","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/structured-data/em-codes","tag":"NEW","href":"/api-reference/ambient-content/session-em-codes"},{"title":"Retrieve E/M Codes Using Encounter ID","sidebarTitle":"E/M Codes Using Encounter ID","openapi":"GET /api/v1/ambient/encounter/{encounter_id}/structured-data/em-codes","tag":"NEW","href":"/api-reference/ambient-content/encounter-em-codes"},{"title":"Retrieve E/M Codes Using Note ID","sidebarTitle":"E/M Codes Using Note ID","openapi":"GET /api/v1/ambient/note/{note_id}/structured-data/em-codes","tag":"NEW","href":"/api-reference/ambient-content/note-em-codes"}]},{"group":"User Preferences","pages":[{"title":"User Preferences API","sidebarTitle":"Overview","href":"/api-reference/user-preferences"},{"title":"User Preferences","sidebarTitle":"User Preferences","openapi":"PATCH /api/v1/user/preferences","href":"/api-reference/user-preferences/preferences"}]},{"group":"User Feedback","pages":[{"title":"User Feedback API","sidebarTitle":"Overview","href":"/api-reference/user-feedback"},{"title":"Ambient Session User Feedback","sidebarTitle":"Ambient Session User Feedback","openapi":"POST /api/v1/ambient/session/{session_id}/{entity}/feedback","href":"/api-reference/feedback/feedback"}]},{"group":"Send Notifications","pages":[{"title":"Send Notifications API","sidebarTitle":"Overview","href":"/api-reference/send-notifications"},{"title":"Asynchronous Notifications","sidebarTitle":"Ambient Session Asynchronous Notifications","openapi":"POST /webhooks/notification","tag":"WEBHOOK","href":"/api-reference/asynchronous/webhook"}]},{"group":"Info","pages":[{"title":"Info APIs","sidebarTitle":"Overview","href":"/api-reference/info"},{"title":"System Information","sidebarTitle":"System Information","openapi":"GET /api/v1/info","href":"/api-reference/info/information"},{"title":"Encounter Information","sidebarTitle":"Encounter Information","openapi":"GET /api/v1/ambient/encounter/{emr_encounter_id}/info","href":"/api-reference/info/get-encounter-info"},{"title":"Supported LOINCs","sidebarTitle":"Supported LOINCs","openapi":"GET /api/v1/info/loincs","href":"/api-reference/info/loincs"},{"title":"Supported Diagnosis Codes","sidebarTitle":"Diagnosis Codes","openapi":"GET /api/v1/info/diagnosis","href":"/api-reference/info/diagnosis"},{"title":"Supported Medical Specialties","openapi":"GET /api/v1/info/specialties","href":"/api-reference/info/specialties"},{"title":"Encounter Types","sidebarTitle":"Encounter Types","openapi":"GET /api/v1/info/encounter-types","href":"/api-reference/info/encounter-types"},{"title":"Visit Types","sidebarTitle":"Visit Types","openapi":"GET /api/v1/info/visit-types","href":"/api-reference/info/visit-types"},{"title":"Provider Roles","openapi":"GET /api/v1/info/provider-roles","href":"/api-reference/info/provider-roles"},{"title":"Structured Data Field Types","sidebarTitle":"Structured Data Field Types","openapi":"GET /api/v1/info/structured-data-field-types","tag":"NEW","href":"/api-reference/info/structured-data-field-types"}]},{"group":"Medication Orders Info","pages":[{"title":"Medication Orders Info APIs","sidebarTitle":"Overview","href":"/api-reference/medication-orders-info"},{"title":"Medication Order Metadata","sidebarTitle":"Order Metadata","openapi":"GET /api/v1/info/orders","href":"/api-reference/info/orders"},{"title":"Medication Coding Systems","sidebarTitle":"Order Coding Systems","openapi":"GET /api/v1/info/orders/coding-systems","href":"/api-reference/info/orders-coding-systems"},{"title":"Medication Dosage Units","sidebarTitle":"Order Dosage Units","openapi":"GET /api/v1/info/orders/dosage-units","href":"/api-reference/info/orders-dosage-units"},{"title":"Order Encounter Relations","sidebarTitle":"Order Encounter Relations","openapi":"GET /api/v1/info/orders/encounter-relations","href":"/api-reference/info/orders-encounter-relations"},{"title":"Medication Frequency Types","sidebarTitle":"Order Frequencies","openapi":"GET /api/v1/info/orders/frequencies","href":"/api-reference/info/orders-frequencies"},{"title":"Medication Timings","sidebarTitle":"Order Timings","openapi":"GET /api/v1/info/orders/medication-timings","href":"/api-reference/info/orders-medication-timings"},{"title":"Order Origins","sidebarTitle":"Order Origins","openapi":"GET /api/v1/info/orders/origins","href":"/api-reference/info/orders-origins"},{"title":"Medication Order Statuses","sidebarTitle":"Order Statuses","openapi":"GET /api/v1/info/orders/statuses","href":"/api-reference/info/orders-statuses"}]}]}]},{"item":"Form Filling APIs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/script.svg","pages":[{"title":"Form Filling APIs","href":"/form-filling-api-reference/overview"}]},{"item":"Patient Summary APIs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/script.svg","pages":[{"title":"Patient Summary APIs","href":"/patient-summary-api-reference/overview"}]},{"item":"E/M Coding APIs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/script.svg","pages":[{"title":"E/M Coding APIs","href":"/em-coding-api-reference/overview"}]}]},{"tab":"Learn","menu":[{"item":"Cookbooks","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/menu_book.svg","pages":[{"title":"Cookbooks","href":"/documentation/cookbooks/overview"}]},{"item":"Tutorials","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/school.svg","pages":[{"title":"Tutorials","href":"/documentation/tutorials/overview"}]}],"pages":[{"title":"Learn","href":"/documentation/cookbooks/overview"}]},{"tab":"Resources","menu":[{"item":"Glossary","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/menu_book.svg","pages":[{"title":"Glossary","href":"/Glossary/glossary"}]},{"item":"Releases","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/calendar.svg","pages":[{"title":"Releases","href":"/updates/release-notes"}]},{"item":"System Status","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/cell-tower.svg","href":"https://status-platform.suki.ai/"},{"item":"Troubleshooting","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/build.svg","pages":[{"title":"Troubleshooting","href":"/documentation/troubleshooting/overview"}]}],"pages":[{"title":"Resources","href":"/Glossary/glossary"}]}]},"basePath":"","title":"Get Audio File Upload URL - Suki","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["10e4515597","c2aa737661","2bfc744e19","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["BannerMarkdown-CoLHY196.js","dist-C-58LlaB.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-x4vGgoST.js","snippetPresets-BGlsYH49.js","utils-D225GpYB.js","style-to-object-BY3JEAdk.js","utils-fb7dxv-3.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-D0sNzoEe.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C4iMfrOs.js","_Uint8Array-DDor1j2p.js","isObject-FP1Yky1u.js","NarrationPlayer-XxasKkWm.js","types-CiTgMxws.js","shallow-DCZ_mvT2.js","Page-COAeG2by.js","CodeSnippet-AsYrl7_f.js","DynamicMarkdown-Bg54PExR.js","SectionHeading-BVOfbSTS.js","icon-Bwg0LftJ.js","ApiExamples-Bw_TWYoP.js","usePlaygroundInputsStore-DLRpNM_Z.js","isEqual-BZMHHGz2.js","CodeSnippets-CqYNT6UN.js","getApiPlaygroundDisplay-B1HdZsAn.js","MethodPill-ETXe5J4U.js","getPastedJson-6m1DH7UM.js","Check2Icon-Bz4v4IkN.js","axios-CsQoIw0U.js","Markdown-CYkmN8yk.js","AssistantPageLink-BZUrxqjy.js"]}