Create a consultation and receive a WebSocket URL to stream the audio to. Body is application/json with the same metadata as the batch endpoint (consultation, template, patient, context); the audio block is not accepted. Stream to live.url as described on that field, then finish through the webhook + document GET contract shared with the batch endpoint. Retrying with the same consultation id while recording returns the same session with a fresh URL; finished consultations return 409.
The consultation metadata: the multipart metadata part, or the JSON body.
consultation
ConsultationInput · object
obrigatório
The caller's consultation reference.
Show child attributes
template
TemplateInput · object
obrigatório
Template selection: an existing public id xor an inline structured template.
Show child attributes
patient
PatientInput · object
obrigatório
An existing patient by public id xor the inline identity.
Show child attributes
context
ContextInput · object | null
Free-text context that feeds record generation.
Show child attributes
source
SourceInput · object | null
An external media source that streams the audio to us (live endpoint only).
When present, the live endpoint returns a connector descriptor to hand to
that provider's API instead of a WebSocket URL the caller streams to itself.
type is the provider id, which must match an adapter registered on the
audio backend; a new provider is one adapter there plus one value here.
Show child attributes
Resposta
Successful Response
LiveScribeSessionResponse
ConnectorScribeSessionResponse
201 response: the batch envelope plus the streaming URL.
consultation
ConsultationRef · object
obrigatório
Echo of the caller's consultation reference.
Show child attributes
live
LiveSessionInfo · object
obrigatório
Where and until when the caller can stream the consultation audio.
Show child attributes
status
string
padrão:created
Always created on success. Stream the audio to live.url; completion then follows the batch contract described on status above.
Allowed value: "created"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Telepatia Integration Hub","colors":{"primary":"#056F42","light":"#056F42","dark":"#ECF1E9"},"logo":{"light":"https://mintcdn.com/telepatia/9kt4voitLfovraG3/logo/light.svg?fit=max\u0026auto=format\u0026n=9kt4voitLfovraG3\u0026q=85\u0026s=85910533c2a504f94c6caf838b5578c5","dark":"https://mintcdn.com/telepatia/9kt4voitLfovraG3/logo/dark.svg?fit=max\u0026auto=format\u0026n=9kt4voitLfovraG3\u0026q=85\u0026s=bc49522c524cbf0ec907a7ab7b2cd2fd"},"favicon":"https://mintcdn.com/telepatia/VnC5WSMQqJCZtWoe/favicon.svg?fit=max\u0026auto=format\u0026n=VnC5WSMQqJCZtWoe\u0026q=85\u0026s=b622996862eec825ec9347f18bec3b26","appearance":{"default":"dark","strict":false},"fonts":{"family":"Geist"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":""},{"language":"es","href":"es"},{"language":"pt-BR","href":"pt-BR"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"telepatia","hasAudioNarration":false,"actualSubdomain":"telepatia","customDomains":["docs.telepatia.ai"],"gitSource":{"type":"github","owner":"telepatia-ai","repo":"monobloco","deployBranch":"prod","contentDirectory":"docs/dev-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b00abd3a4c589bdf0630054","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"es","tag":"Scribe API","count":129},{"language":"en","tag":"Scribe API","count":129},{"language":"pt-BR","tag":"Scribe API","count":128},{"language":"es","tag":"API Institucional","count":40},{"language":"en","tag":"Institutional API","count":40},{"language":"pt-BR","tag":"API Institucional","count":40},{"language":"es","tag":"Prompts de IA","count":38},{"language":"en","tag":"AI Prompts","count":38},{"language":"pt-BR","tag":"Prompts de IA","count":37},{"language":"es","tag":"Web Companion","count":28},{"language":"en","tag":"Web Companion","count":28},{"language":"pt-BR","tag":"Web Companion","count":28},{"language":"es","tag":"Guías","count":26},{"language":"en","tag":"Guides","count":26},{"language":"pt-BR","tag":"Guias","count":26},{"language":"es","tag":"API Doctor","count":25},{"language":"en","tag":"Doctor API","count":25},{"language":"pt-BR","tag":"API Médico","count":25},{"language":"es","tag":"Doctor","count":24},{"language":"en","tag":"Doctor","count":24},{"language":"pt-BR","tag":"Médico","count":23},{"language":"es","tag":"Funcionalidades","count":13},{"language":"en","tag":"Features","count":13},{"language":"pt-BR","tag":"Funcionalidades","count":13},{"language":"es","tag":"Conceptos básicos","count":12},{"language":"es","tag":"Pacientes","count":12},{"language":"en","tag":"Core Concepts","count":12},{"language":"en","tag":"Patients","count":12},{"language":"pt-BR","tag":"Conceitos principais","count":12},{"language":"pt-BR","tag":"Pacientes","count":12}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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}],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n.tp-home,.tp-api,.tp-pillswitch,.tp-changelog{--tp-panel: #0E100E;--tp-panel-2: #0D0F0D;--tp-line: #1F221F;--tp-line-soft: #232623;--tp-line-hover: #2E322E;--tp-green: #056F42;--tp-accent: #7FD3A8;--tp-text: #F5F7F3;--tp-body: #C4CCC5;--tp-muted: #9BA29C;--tp-faint: #5A615B;--tp-swatch: #1D3A2A;--tp-featured-bg: #0B1610;--tp-featured-line: #1D3A2A;--tp-featured-hover: #2C5A3F;--tp-pill-featured-line: #24322A}html:not(.dark) .tp-home,html:not(.dark) .tp-api,html:not(.dark) .tp-pillswitch,html:not(.dark) .tp-changelog{--tp-panel: #F6F7F5;--tp-panel-2: #FAFAF9;--tp-line: #E4E7E2;--tp-line-soft: #DDE0DB;--tp-line-hover: #C4C8C2;--tp-green: #056F42;--tp-accent: #056F42;--tp-text: #14181A;--tp-body: #3A403B;--tp-muted: #6B726B;--tp-faint: #98A09A;--tp-swatch: #D3E8DC;--tp-featured-bg: #F0F7F2;--tp-featured-line: #CDE7D8;--tp-featured-hover: #9FCEB4;--tp-pill-featured-line: #CDE7D8}.tp-home a,.tp-api a{text-decoration:none}.tp-home *,.tp-home *::before,.tp-home *::after,.tp-api *,.tp-api *::before,.tp-api *::after{box-sizing:border-box}.tp-home{max-width:1180px;margin:0 auto;padding:40px 28px 96px}.tp-hero{padding:24px 0 40px;border-bottom:1px solid var(--tp-line)}.tp-eyebrow{font:500 11px/1 'Geist Mono', monospace;letter-spacing:.1em;color:var(--tp-accent);margin-bottom:16px}.tp-h1{margin:0 0 14px;font:600 42px/1.1 Geist, system-ui, sans-serif;letter-spacing:-.024em;color:var(--tp-text);max-width:720px}.tp-sub{margin:0 0 30px;font:400 17px/1.6 Geist, system-ui, sans-serif;color:var(--tp-muted);max-width:620px;text-wrap:pretty}.tp-search{display:flex;align-items:center;gap:10px;width:100%;max-width:560px;padding:13px 16px;border:1px solid var(--tp-line-soft);border-radius:11px;background:var(--tp-panel);cursor:pointer;font:inherit;text-align:left;transition:border-color .15s ease}.tp-search:hover{border-color:var(--tp-line-hover)}.tp-search-dot{width:14px;height:14px;border:1.5px solid var(--tp-accent);border-radius:50%;flex:none}.tp-search-text{font:400 14.5px Geist, system-ui, sans-serif;color:var(--tp-muted)}.tp-search-kbd{margin-left:auto;font:500 10.5px 'Geist Mono', monospace;color:var(--tp-faint)}.tp-section-label{font:500 10.5px/1 'Geist Mono', monospace;letter-spacing:.09em;color:var(--tp-faint);margin:40px 0 20px}.tp-products{display:flex;flex-direction:column;gap:14px}.tp-row{display:grid;grid-template-columns:250px 1fr 220px;gap:26px;padding:24px;border:1px solid var(--tp-line);border-radius:14px;background:var(--tp-panel);color:inherit;transition:border-color .15s ease, background .15s ease}.tp-row:hover{border-color:var(--tp-line-hover)}.tp-row--featured{border-color:var(--tp-featured-line);background:var(--tp-featured-bg)}.tp-row--featured:hover{border-color:var(--tp-featured-hover)}.tp-row-title{display:flex;align-items:center;gap:10px;margin-bottom:10px}.tp-row-title span:last-child{font:600 18px Geist, system-ui, sans-serif;color:var(--tp-text)}.tp-swatch{width:26px;height:26px;border-radius:7px;background:var(--tp-swatch);flex:none}.tp-swatch--api{background:var(--tp-green)}.tp-row-meta{font:400 12px 'Geist Mono', monospace;color:var(--tp-accent)}.tp-row-desc{margin:0 0 12px;font:400 14px/1.6 Geist, system-ui, sans-serif;color:var(--tp-body)}.tp-row-desc code{font:400 13px 'Geist Mono', monospace;color:var(--tp-accent)}.tp-pills{display:flex;gap:8px;flex-wrap:wrap}.tp-pill{font:400 11.5px Geist, system-ui, sans-serif;color:var(--tp-muted);border:1px solid var(--tp-line-soft);border-radius:20px;padding:4px 10px}.tp-row--featured .tp-pill{border-color:var(--tp-pill-featured-line)}.tp-row-for{display:flex;flex-direction:column;gap:8px}.tp-for-label{font:500 10.5px/1 'Geist Mono', monospace;letter-spacing:.08em;color:var(--tp-faint)}.tp-for-text{font:400 12.5px/1.5 Geist, system-ui, sans-serif;color:var(--tp-muted)}.tp-cta{margin-top:auto;font:500 12.5px Geist, system-ui, sans-serif;color:var(--tp-accent)}.tp-unsure{margin-top:26px;padding:22px 24px;border:1px solid var(--tp-line);border-radius:14px;background:var(--tp-panel-2)}.tp-unsure-title{font:600 15px Geist, system-ui, sans-serif;color:var(--tp-text);margin-bottom:14px}.tp-unsure-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:12px}.tp-sentence{display:flex;flex-direction:column;gap:8px;padding:15px 16px;border:1px solid var(--tp-line-soft);border-radius:11px;color:inherit;transition:border-color .15s ease}.tp-sentence:hover{border-color:var(--tp-line-hover)}.tp-sentence-q{font:400 13px/1.55 Geist, system-ui, sans-serif;color:var(--tp-body)}.tp-api{display:block;margin-top:26px}.tp-api-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:30px}.tp-api-btn{font:500 13px Geist, system-ui, sans-serif;color:#fff;background:var(--tp-green);border-radius:9px;padding:11px 17px}.tp-api-btn:hover{background:#03502F}.tp-api-chip{font:500 13px Geist, system-ui, sans-serif;color:var(--tp-body);border:1px solid var(--tp-line-soft);border-radius:9px;padding:11px 17px}.tp-api-chip:hover{border-color:var(--tp-line-hover)}.tp-api-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:12px;margin-bottom:30px}.tp-api-card{padding:18px;border:1px solid var(--tp-line);border-radius:12px;background:var(--tp-panel);color:inherit;transition:border-color .15s ease}.tp-api-card:hover{border-color:var(--tp-line-hover)}.tp-api-card-t{font:600 15px Geist, system-ui, sans-serif;color:var(--tp-text);margin-bottom:5px}.tp-api-card-d{font:400 12.5px/1.55 Geist, system-ui, sans-serif;color:var(--tp-muted)}.tp-api-wrong{display:flex;align-items:center;gap:18px;padding:18px 20px;border:1px solid var(--tp-featured-line);border-radius:12px;background:var(--tp-featured-bg);color:inherit}.tp-api-wrong-t{font:600 14px Geist, system-ui, sans-serif;color:var(--tp-text);margin-bottom:4px}.tp-api-wrong-d{font:400 12.5px/1.55 Geist, system-ui, sans-serif;color:var(--tp-muted)}.tp-api-wrong-cta{margin-left:auto;flex:none;font:500 12.5px Geist, system-ui, sans-serif;color:var(--tp-accent)}.tp-pillswitch{display:flex;gap:3px;padding:4px;border:1px solid var(--tp-line);border-radius:9px;background:var(--tp-panel-2);margin:0 6px 6px;animation:tp-fadein .18s ease}@keyframes tp-fadein{from{opacity:0}to{opacity:1}}.tp-pill{flex:1;text-align:center;cursor:pointer;font:500 11.5px Geist, system-ui, sans-serif;color:var(--tp-muted);background:transparent;border:0;border-radius:6px;padding:6px 0;text-decoration:none;transition:background .12s ease, color .12s ease}.tp-pill:hover{color:var(--tp-text)}.tp-pill.is-active{background:var(--tp-accent);color:#04120A;font-weight:600}html:not(.dark) .tp-pill.is-active{background:var(--tp-green);color:#fff}.tp-changelog{display:block;margin:18px 8px 8px;padding:13px;border:1px dashed var(--tp-featured-line);border-radius:10px;background:var(--tp-featured-bg);color:inherit;transition:border-color .15s ease}.tp-changelog:hover{border-color:var(--tp-featured-hover)}.tp-changelog-t{font:600 12px Geist, system-ui, sans-serif;color:var(--tp-text);margin-bottom:3px}.tp-changelog-d{font:400 11.5px/1.45 Geist, system-ui, sans-serif;color:var(--tp-muted)}#sidebar-content .nav-dropdown-trigger{position:absolute!important;left:-9999px!important;top:0!important}@media (max-width: 900px){.tp-h1{font-size:34px}.tp-row{grid-template-columns:1fr;gap:16px}.tp-unsure-grid,.tp-api-grid{grid-template-columns:1fr}}"}]}
{"page":{"pagePath":"pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session","slug":"/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session","pageMetadata":{"title":"Start a live consultation audio session","description":"Create a consultation and receive a WebSocket URL to stream the audio to. Body is `application/json` with the same metadata as the batch endpoint (`consultation`, `template`, `patient`, `context`); the `audio` block is not accepted. Stream to `live.url` as described on that field, then finish through the webhook + document GET contract shared with the batch endpoint. Retrying with the same consultation id while recording returns the same session with a fresh URL; finished consultations return 409.","deprecated":null,"version":null,"sidebarTitle":"Start a live consultation audio session","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/scribe-sessions/live","href":"/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Create a consultation and receive a WebSocket URL to stream the audio to. Body is \", _jsx(_components.code, {\n children: \"application/json\"\n }), \" with the same metadata as the batch endpoint (\", _jsx(_components.code, {\n children: \"consultation\"\n }), \", \", _jsx(_components.code, {\n children: \"template\"\n }), \", \", _jsx(_components.code, {\n children: \"patient\"\n }), \", \", _jsx(_components.code, {\n children: \"context\"\n }), \"); the \", _jsx(_components.code, {\n children: \"audio\"\n }), \" block is not accepted. Stream to \", _jsx(_components.code, {\n children: \"live.url\"\n }), \" as described on that field, then finish through the webhook + document GET contract shared with the batch endpoint. Retrying with the same consultation id while recording returns the same session with a fresh URL; finished consultations return 409.\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Start a live consultation audio session","description":"Create a consultation and receive a WebSocket URL to stream the audio to. Body is `application/json` with the same metadata as the batch endpoint (`consultation`, `template`, `patient`, `context`); the `audio` block is not accepted. Stream to `live.url` as described on that field, then finish through the webhook + document GET contract shared with the batch endpoint. Retrying with the same consultation id while recording returns the same session with a fresh URL; finished consultations return 409.","deprecated":null,"version":null,"sidebarTitle":"Start a live consultation audio session","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/scribe-sessions/live","href":"/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/telepatia/e3134c75f8fb65f7/custom.js"],"openApiReferenceData":{"operation":{"tags":["Scribe Sessions"],"summary":"Start a live consultation audio session","description":"Create a consultation and receive a WebSocket URL to stream the audio to. Body is `application/json` with the same metadata as the batch endpoint (`consultation`, `template`, `patient`, `context`); the `audio` block is not accepted. Stream to `live.url` as described on that field, then finish through the webhook + document GET contract shared with the batch endpoint. Retrying with the same consultation id while recording returns the same session with a fresh URL; finished consultations return 409.","operationId":"api_scribe_session_live_init_v1_scribe_sessions_live_post","requestBody":"7f32d860-363d-4d8f-a942-98475f7ecb57","responses":{"201":"e5ec8b5b-223e-4fb2-a464-b4503ed29599","400":"90ead45b-01b5-4c4f-95a7-9c2dc10ff2e7","401":"3091d004-695a-43d0-8f75-37417a40d2b1","403":"c1900c8c-558a-4fba-a796-548005c962e0","404":"c6b6656c-f8cd-498d-8fbc-d44de5a81eae","409":"53bd5b9e-b72e-498c-81b1-a34398fdc87a","413":"2e9870d3-1603-48ae-9893-588a21cc9f2e","503":"43fdb9a4-15c0-4db3-9c7f-47fe4c1dd6be"},"security":["0f69f215-95eb-4490-a260-5a2fd2690d99"],"x-mint":{"href":"/pt-BR/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session"},"method":"post","type":"path","servers":["0c07e3a5-f254-42d9-ab16-3e3c06194b04"],"path":"/v1/scribe-sessions/live","baseUrlOptions":["https://scribe-api.telepatia.ai"],"title":"Start a live consultation audio session","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"consultation":{"properties":{"id":{"type":"string","maxLength":128,"pattern":"^[A-Za-z0-9_-]{1,128}$","title":"Id","description":"Your consultation id, the key for every follow-up GET and webhook.","examples":["CONSULT-12345"],"isRequired":true,"uniqueKey":"consultation.id","typeLabel":"string"},"modality":{"oneOf":[{"type":"string","title":"Modality","enum":["IN_PERSON","TELEMEDICINE"],"example":"IN_PERSON","uniqueKey":"consultation.modality.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Modality","example":"IN_PERSON","uniqueKey":"consultation.modality.oneOf.1","typeLabel":"null"}],"uniqueKey":"consultation.modality","typeLabel":"enum\u003cstring> | null"}},"type":"object","required":["id"],"title":"ConsultationInput","description":"The caller's consultation reference.","isRequired":true,"uniqueKey":"consultation","typeLabel":"ConsultationInput · object"},"template":{"properties":{"id":{"oneOf":[{"type":"string","title":"Id","description":"Public id of an existing template, self-describing by prefix: `mrc_` (medicalRecordConfiguration) or `ssc_` (scribeSessionConfiguration).","maxLength":128,"example":"mrc_a1b2c3d4e5f6g7h8","uniqueKey":"template.id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Id","description":"Public id of an existing template, self-describing by prefix: `mrc_` (medicalRecordConfiguration) or `ssc_` (scribeSessionConfiguration).","example":"mrc_a1b2c3d4e5f6g7h8","uniqueKey":"template.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"template.id","typeLabel":"string | null"},"sections":{"oneOf":[{"type":"object","title":"Sections","description":"Inline structured template keyed by section name (e.g. 'chiefComplaint'). Auto-persisted and deduplicated by content hash. Mutually exclusive with `id`.","additionalProperties":true,"uniqueKey":"template.sections.oneOf.0","typeLabel":"Sections · object"},{"type":"null","title":"Sections","description":"Inline structured template keyed by section name (e.g. 'chiefComplaint'). Auto-persisted and deduplicated by content hash. Mutually exclusive with `id`.","uniqueKey":"template.sections.oneOf.1","typeLabel":"null"}],"uniqueKey":"template.sections","typeLabel":"Sections · object | null"}},"type":"object","title":"TemplateInput","description":"Template selection: an existing public id xor an inline structured template.","isRequired":true,"uniqueKey":"template","typeLabel":"TemplateInput · object"},"patient":{"properties":{"id":{"oneOf":[{"type":"string","title":"Id","description":"Public id of an existing patient (sp_...). Mutually exclusive with the inline identity.","pattern":"^sp_[a-z0-9]{16}$","example":"sp_a1b2c3d4e5f6g7h8","uniqueKey":"patient.id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Id","description":"Public id of an existing patient (sp_...). Mutually exclusive with the inline identity.","example":"sp_a1b2c3d4e5f6g7h8","uniqueKey":"patient.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"patient.id","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","title":"Name","maxLength":500,"minLength":1,"example":"John Doe","uniqueKey":"patient.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","example":"John Doe","uniqueKey":"patient.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"patient.name","typeLabel":"string | null"},"document":{"oneOf":[{"type":"object","title":"PatientDocument","description":"The patient's identity document (same enums and rules as the rest of the API).","required":["country","type","value"],"properties":{"country":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CX","CC","CO","KM","CK","CR","CI","HR","CU","CW","CY","CZ","CD","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","SZ","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IQ","IE","IR","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","XK","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","KP","MP","NO","OM","PK","PW","PA","PG","PY","CN","PE","PH","PN","PL","PT","PR","QA","CG","GM","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","KR","SS","ES","LK","PS","SD","SR","SJ","SE","CH","SY","TW","TJ","TH","MK","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","TZ","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"],"title":"IdCountry","description":"ISO 3166-1 alpha-2 country codes. Mirrors tanjiro's CountryCodes enum.","examples":["BR"],"isRequired":true,"uniqueKey":"patient.document.oneOf.0.country","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["CC","TI","CE","RC","PASSPORT","RG","CPF","OTHER_DOC"],"title":"IdType","description":"Tipos de documento de identificação do paciente suportados.","examples":["CPF"],"isRequired":true,"uniqueKey":"patient.document.oneOf.0.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","maxLength":50,"minLength":1,"title":"Value","examples":["123.456.789-00"],"isRequired":true,"uniqueKey":"patient.document.oneOf.0.value","typeLabel":"string"}},"uniqueKey":"patient.document.oneOf.0","typeLabel":"PatientDocument · object"},{"type":"null","uniqueKey":"patient.document.oneOf.1","typeLabel":"null"}],"uniqueKey":"patient.document","typeLabel":"PatientDocument · object | null"}},"type":"object","title":"PatientInput","description":"An existing patient by public id xor the inline identity.","isRequired":true,"uniqueKey":"patient","typeLabel":"PatientInput · object"},"context":{"oneOf":[{"type":"object","title":"ContextInput","description":"Free-text context that feeds record generation.","properties":{"notes":{"oneOf":[{"type":"string","title":"Notes","maxLength":10000,"example":"Patient reports headache since Monday.","uniqueKey":"context.oneOf.0.notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Notes","example":"Patient reports headache since Monday.","uniqueKey":"context.oneOf.0.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"context.oneOf.0.notes","typeLabel":"string | null"},"pastMedicalHistory":{"oneOf":[{"type":"string","title":"Pastmedicalhistory","maxLength":10000,"example":"Hypertension diagnosed 2020.","uniqueKey":"context.oneOf.0.pastMedicalHistory.oneOf.0","typeLabel":"string"},{"type":"null","title":"Pastmedicalhistory","example":"Hypertension diagnosed 2020.","uniqueKey":"context.oneOf.0.pastMedicalHistory.oneOf.1","typeLabel":"null"}],"uniqueKey":"context.oneOf.0.pastMedicalHistory","typeLabel":"string | null"}},"uniqueKey":"context.oneOf.0","typeLabel":"ContextInput · object"},{"type":"null","uniqueKey":"context.oneOf.1","typeLabel":"null"}],"uniqueKey":"context","typeLabel":"ContextInput · object | null"},"source":{"oneOf":[{"type":"object","title":"SourceInput","description":"An external media source that streams the audio to us (live endpoint only).\n\nWhen present, the live endpoint returns a ``connector`` descriptor to hand to\nthat provider's API instead of a WebSocket URL the caller streams to itself.\n``type`` is the provider id, which must match an adapter registered on the\naudio backend; a new provider is one adapter there plus one value here.","required":["type"],"properties":{"type":{"type":"string","const":"vonage_audio_connector","title":"Type","description":"External audio-source provider id.","examples":["vonage_audio_connector"],"isRequired":true,"uniqueKey":"source.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"source.oneOf.0","typeLabel":"SourceInput · object"},{"type":"null","uniqueKey":"source.oneOf.1","typeLabel":"null"}],"uniqueKey":"source","typeLabel":"SourceInput · object | null"}},"type":"object","required":["consultation","template","patient"],"title":"IngestScribeSessionMetadata","description":"The consultation metadata: the multipart ``metadata`` part, or the JSON body.","example":{"consultation":{"id":"CONSULT-12345","modality":"IN_PERSON"},"template":{"id":"mrc_a1b2c3d4e5f6g7h8"},"patient":{"id":"sp_a1b2c3d4e5f6g7h8"},"context":{"notes":"Patient reports headache since Monday.","pastMedicalHistory":"Hypertension diagnosed 2020."}},"uniqueKey":"","typeLabel":"IngestScribeSessionMetadata · object"},"example":{"consultation":{"id":"CONSULT-12345","modality":"IN_PERSON"},"template":{"id":"mrc_a1b2c3d4e5f6g7h8"},"patient":{"id":"sp_a1b2c3d4e5f6g7h8"},"context":{"notes":"Patient reports headache since Monday.","pastMedicalHistory":"Hypertension diagnosed 2020."}},"examples":{"Example":{"title":"Example","value":{"consultation":{"id":"CONSULT-12345","modality":"IN_PERSON"},"template":{"id":"mrc_a1b2c3d4e5f6g7h8"},"patient":{"id":"sp_a1b2c3d4e5f6g7h8"},"context":{"notes":"Patient reports headache since Monday.","pastMedicalHistory":"Hypertension diagnosed 2020."}}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"e5ec8b5b-223e-4fb2-a464-b4503ed29599":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"LiveScribeSessionResponse","description":"201 response: the batch envelope plus the streaming URL.","required":["consultation","live"],"example":{"consultation":{"id":"CONSULT-12345"},"live":{"expiresAt":"2026-08-12T14:00:00+00:00","url":"wss://example.telepatia.ai/v1/ws/audio/abc?token=..."},"status":"created"},"properties":{"consultation":{"properties":{"id":{"type":"string","title":"Id","examples":["CONSULT-12345"],"isRequired":true,"uniqueKey":"oneOf.0.consultation.id","typeLabel":"string"}},"type":"object","required":["id"],"title":"ConsultationRef","description":"Echo of the caller's consultation reference.","isRequired":true,"uniqueKey":"oneOf.0.consultation","typeLabel":"ConsultationRef · object"},"live":{"properties":{"url":{"type":"string","title":"Url","description":"Opaque wss URL to stream the audio to. Connect, send binary audio frames (PCM 16 kHz mono s16le, or Ogg/WebM Opus), then send `{\"type\": \"stop_recording\", \"data\": {}}`. Reconnecting to the same URL resumes the session.","examples":["wss://example.telepatia.ai/v1/ws/audio/abc?token=..."],"isRequired":true,"uniqueKey":"oneOf.0.live.url","typeLabel":"string"},"expiresAt":{"type":"string","title":"Expiresat","description":"ISO 8601 instant after which the URL's credential is no longer valid.","examples":["2026-08-12T14:00:00+00:00"],"isRequired":true,"uniqueKey":"oneOf.0.live.expiresAt","typeLabel":"string"}},"type":"object","required":["url","expiresAt"],"title":"LiveSessionInfo","description":"Where and until when the caller can stream the consultation audio.","isRequired":true,"uniqueKey":"oneOf.0.live","typeLabel":"LiveSessionInfo · object"},"status":{"type":"string","const":"created","title":"Status","description":"Always `created` on success. Stream the audio to `live.url`; completion then follows the batch contract described on `status` above.","default":"created","uniqueKey":"oneOf.0.status","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"LiveScribeSessionResponse · object"},{"type":"object","title":"ConnectorScribeSessionResponse","description":"201 response when a `source` was given: the envelope plus a connector descriptor.","required":["consultation","connector"],"example":{"connector":{"audioRate":16000,"expiresAt":"2026-10-06T14:00:00+00:00","headers":{"Authorization":"Bearer eyJ..."},"source":"vonage_audio_connector","uri":"wss://audio.telepatia.ai/v1/ws/audio/abc?source=vonage_audio_connector"},"consultation":{"id":"CONSULT-12345"},"status":"created"},"properties":{"consultation":{"properties":{"id":{"type":"string","title":"Id","examples":["CONSULT-12345"],"isRequired":true,"uniqueKey":"oneOf.1.consultation.id","typeLabel":"string"}},"type":"object","required":["id"],"title":"ConsultationRef","description":"Echo of the caller's consultation reference.","isRequired":true,"uniqueKey":"oneOf.1.consultation","typeLabel":"ConsultationRef · object"},"connector":{"properties":{"source":{"type":"string","title":"Source","examples":["vonage_audio_connector"],"isRequired":true,"uniqueKey":"oneOf.1.connector.source","typeLabel":"string"},"uri":{"type":"string","title":"Uri","description":"Opaque wss URL the provider streams to. PCM 16 kHz mono s16le.","examples":["wss://audio.telepatia.ai/v1/ws/audio/abc?source=vonage_audio_connector"],"isRequired":true,"uniqueKey":"oneOf.1.connector.uri","typeLabel":"string"},"headers":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.1.connector.headers.additionalProperties","typeLabel":"string"},"type":"object","title":"Headers","description":"Headers the provider must attach to the WebSocket handshake.","examples":[{"Authorization":"Bearer eyJ..."}],"isRequired":true,"uniqueKey":"oneOf.1.connector.headers","typeLabel":"Headers · object"},"expiresAt":{"type":"string","title":"Expiresat","description":"ISO 8601 instant after which the credential in `headers` is invalid.","examples":["2026-10-06T14:00:00+00:00"],"isRequired":true,"uniqueKey":"oneOf.1.connector.expiresAt","typeLabel":"string"},"audioRate":{"type":"integer","title":"Audiorate","description":"Sample rate to request from the provider (Hz).","default":16000,"examples":[16000],"uniqueKey":"oneOf.1.connector.audioRate","typeLabel":"integer"}},"type":"object","required":["source","uri","headers","expiresAt"],"title":"ConnectorInfo","description":"How an external media source should connect to stream the consultation audio.\n\nThe fields map 1:1 onto the Vonage ``startAudioConnector.websocket`` object:\n``uri`` → ``websocket.uri``, ``headers`` → ``websocket.headers`` (carries the\nshort-lived Bearer token), ``audioRate`` → ``audioRate``. The provider opens the\nsocket to ``uri``; this service never sees the audio.","isRequired":true,"uniqueKey":"oneOf.1.connector","typeLabel":"ConnectorInfo · object"},"status":{"type":"string","const":"created","title":"Status","description":"Always `created` on success. Hand `connector` to your media provider; completion then follows the batch contract described on `status` above.","default":"created","uniqueKey":"oneOf.1.status","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"ConnectorScribeSessionResponse · object"}],"uniqueKey":"","typeLabel":"LiveScribeSessionResponse · object | ConnectorScribeSessionResponse · object"},"examples":{"Example":{"title":"Example","value":{"consultation":{"id":"CONSULT-12345"},"live":{"expiresAt":"2026-08-12T14:00:00+00:00","url":"wss://example.telepatia.ai/v1/ws/audio/abc?token=..."},"status":"created"}}},"exampleType":"generated"}},"exampleType":"generated"},"90ead45b-01b5-4c4f-95a7-9c2dc10ff2e7":{"description":"Requisição inválida — parâmetros inválidos, falhas de validação ou campos ausentes.","content":{"application/json":{"examples":{"parameter_missing":{"title":"parameter_missing","summary":"Missing required field","value":{"error":{"type":"invalid_request_error","code":"parameter_missing","message":"name is required.","param":"name","requestId":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"}}},"parameter_invalid":{"title":"parameter_invalid","summary":"Invalid field value","value":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"idCountry must be a valid country name, ISO alpha-2, or ISO alpha-3 code.","param":"idCountry","requestId":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"}}},"account_invalid":{"title":"account_invalid","summary":"Invalid account","value":{"error":{"type":"invalid_request_error","code":"account_invalid","message":"Account has no valid authId.","requestId":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"}}}},"schema":{"description":"Envelope padronizado de resposta de erro.","properties":{"error":{"description":"Top-level error object: :class:`ErrorDetail` plus the request correlation id.\n\nKept as a subclass rather than a field on ``ErrorDetail`` because ``ErrorDetail`` is\nalso the per-item error shape inside the batch account-creation response\n(``BatchAccountResult.error``), which is serialized with nulls included. Adding the\nfield there would publish ``\"requestId\": null`` on an HTTP 200, and there is only\never one request id per batch anyway -- batch callers read the ``X-Request-ID``\nresponse header.","properties":{"type":{"description":"Broad error category for high-level handling.","examples":["invalid_request_error"],"title":"Type","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"description":"Machine-readable error code. Clients should switch on this value.","examples":["parameter_invalid"],"title":"Code","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable error message ending with a period.","examples":["idCountry must be a valid country name, ISO alpha-2, or ISO alpha-3 code."],"title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"details":{"oneOf":[{"type":"object","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"Details · object"},{"type":"null","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"Details · object | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["type","code","message"],"title":"ErrorDetailWithRequestId","type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorDetailWithRequestId · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"exampleType":"examples"}},"exampleType":"examples"},"3091d004-695a-43d0-8f75-37417a40d2b1":{"description":"Não autorizado — chave de API ausente ou inválida.","content":{"application/json":{"examples":{"authentication_required":{"title":"authentication_required","summary":"Invalid or missing API key","value":{"error":{"type":"authentication_error","code":"authentication_required","message":"Invalid API key.","requestId":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"}}}},"schema":{"description":"Envelope padronizado de resposta de erro.","properties":{"error":{"description":"Top-level error object: :class:`ErrorDetail` plus the request correlation id.\n\nKept as a subclass rather than a field on ``ErrorDetail`` because ``ErrorDetail`` is\nalso the per-item error shape inside the batch account-creation response\n(``BatchAccountResult.error``), which is serialized with nulls included. Adding the\nfield there would publish ``\"requestId\": null`` on an HTTP 200, and there is only\never one request id per batch anyway -- batch callers read the ``X-Request-ID``\nresponse header.","properties":{"type":{"description":"Broad error category for high-level handling.","examples":["invalid_request_error"],"title":"Type","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"description":"Machine-readable error code. Clients should switch on this value.","examples":["parameter_invalid"],"title":"Code","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable error message ending with a period.","examples":["idCountry must be a valid country name, ISO alpha-2, or ISO alpha-3 code."],"title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"details":{"oneOf":[{"type":"object","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"Details · object"},{"type":"null","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"Details · object | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["type","code","message"],"title":"ErrorDetailWithRequestId","type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorDetailWithRequestId · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"exampleType":"examples"}},"exampleType":"examples"},"c1900c8c-558a-4fba-a796-548005c962e0":{"description":"Proibido — a chave de API não pode executar esta operação.","content":{"application/json":{"examples":{"permission_denied":{"title":"permission_denied","summary":"Caller lacks permission for this resource","value":{"error":{"type":"permission_error","code":"permission_denied","message":"You do not have permission to access this resource.","requestId":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"}}},"permission_denied_role":{"title":"permission_denied_role","summary":"API key's account role is not allowed this operation","value":{"error":{"type":"permission_error","code":"permission_denied","message":"Your API key is not allowed to create accounts. Account creation requires an institutional API key; this key is scoped to a doctor account.","requestId":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"}}}},"schema":{"description":"Envelope padronizado de resposta de erro.","properties":{"error":{"description":"Top-level error object: :class:`ErrorDetail` plus the request correlation id.\n\nKept as a subclass rather than a field on ``ErrorDetail`` because ``ErrorDetail`` is\nalso the per-item error shape inside the batch account-creation response\n(``BatchAccountResult.error``), which is serialized with nulls included. Adding the\nfield there would publish ``\"requestId\": null`` on an HTTP 200, and there is only\never one request id per batch anyway -- batch callers read the ``X-Request-ID``\nresponse header.","properties":{"type":{"description":"Broad error category for high-level handling.","examples":["invalid_request_error"],"title":"Type","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"description":"Machine-readable error code. Clients should switch on this value.","examples":["parameter_invalid"],"title":"Code","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable error message ending with a period.","examples":["idCountry must be a valid country name, ISO alpha-2, or ISO alpha-3 code."],"title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"details":{"oneOf":[{"type":"object","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"Details · object"},{"type":"null","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"Details · object | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["type","code","message"],"title":"ErrorDetailWithRequestId","type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorDetailWithRequestId · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"exampleType":"examples"}},"exampleType":"examples"},"c6b6656c-f8cd-498d-8fbc-d44de5a81eae":{"description":"Não encontrado — o recurso solicitado não existe.","content":{"application/json":{"examples":{"resource_not_found":{"title":"resource_not_found","summary":"Resource not found","value":{"error":{"type":"invalid_request_error","code":"resource_not_found","message":"No session scribe found for the given consultation ID.","requestId":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"}}}},"schema":{"description":"Envelope padronizado de resposta de erro.","properties":{"error":{"description":"Top-level error object: :class:`ErrorDetail` plus the request correlation id.\n\nKept as a subclass rather than a field on ``ErrorDetail`` because ``ErrorDetail`` is\nalso the per-item error shape inside the batch account-creation response\n(``BatchAccountResult.error``), which is serialized with nulls included. Adding the\nfield there would publish ``\"requestId\": null`` on an HTTP 200, and there is only\never one request id per batch anyway -- batch callers read the ``X-Request-ID``\nresponse header.","properties":{"type":{"description":"Broad error category for high-level handling.","examples":["invalid_request_error"],"title":"Type","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"description":"Machine-readable error code. Clients should switch on this value.","examples":["parameter_invalid"],"title":"Code","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable error message ending with a period.","examples":["idCountry must be a valid country name, ISO alpha-2, or ISO alpha-3 code."],"title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"details":{"oneOf":[{"type":"object","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"Details · object"},{"type":"null","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"Details · object | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["type","code","message"],"title":"ErrorDetailWithRequestId","type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorDetailWithRequestId · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"exampleType":"examples"}},"exampleType":"examples"},"53bd5b9e-b72e-498c-81b1-a34398fdc87a":{"description":"Conflito — o recurso já existe ou está em estado conflitante.","content":{"application/json":{"examples":{"resource_conflict":{"title":"resource_conflict","summary":"Resource conflict","value":{"error":{"type":"invalid_request_error","code":"resource_conflict","message":"consultationInternalId is already in use by a different consultation.","param":"consultationInternalId","requestId":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"}}}},"schema":{"description":"Envelope padronizado de resposta de erro.","properties":{"error":{"description":"Top-level error object: :class:`ErrorDetail` plus the request correlation id.\n\nKept as a subclass rather than a field on ``ErrorDetail`` because ``ErrorDetail`` is\nalso the per-item error shape inside the batch account-creation response\n(``BatchAccountResult.error``), which is serialized with nulls included. Adding the\nfield there would publish ``\"requestId\": null`` on an HTTP 200, and there is only\never one request id per batch anyway -- batch callers read the ``X-Request-ID``\nresponse header.","properties":{"type":{"description":"Broad error category for high-level handling.","examples":["invalid_request_error"],"title":"Type","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"description":"Machine-readable error code. Clients should switch on this value.","examples":["parameter_invalid"],"title":"Code","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable error message ending with a period.","examples":["idCountry must be a valid country name, ISO alpha-2, or ISO alpha-3 code."],"title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"details":{"oneOf":[{"type":"object","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"Details · object"},{"type":"null","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"Details · object | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["type","code","message"],"title":"ErrorDetailWithRequestId","type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorDetailWithRequestId · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"exampleType":"examples"}},"exampleType":"examples"},"2e9870d3-1603-48ae-9893-588a21cc9f2e":{"description":"Conteúdo muito grande — o corpo excede o tamanho máximo suportado.","content":{"application/json":{"examples":{"request_too_large":{"title":"request_too_large","summary":"Uploaded file exceeds the maximum size","value":{"error":{"type":"invalid_request_error","code":"request_too_large","message":"The audio file exceeds the maximum supported size.","param":"audio_file","requestId":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"}}}},"schema":{"description":"Envelope padronizado de resposta de erro.","properties":{"error":{"description":"Top-level error object: :class:`ErrorDetail` plus the request correlation id.\n\nKept as a subclass rather than a field on ``ErrorDetail`` because ``ErrorDetail`` is\nalso the per-item error shape inside the batch account-creation response\n(``BatchAccountResult.error``), which is serialized with nulls included. Adding the\nfield there would publish ``\"requestId\": null`` on an HTTP 200, and there is only\never one request id per batch anyway -- batch callers read the ``X-Request-ID``\nresponse header.","properties":{"type":{"description":"Broad error category for high-level handling.","examples":["invalid_request_error"],"title":"Type","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"description":"Machine-readable error code. Clients should switch on this value.","examples":["parameter_invalid"],"title":"Code","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable error message ending with a period.","examples":["idCountry must be a valid country name, ISO alpha-2, or ISO alpha-3 code."],"title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"details":{"oneOf":[{"type":"object","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"Details · object"},{"type":"null","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"Details · object | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["type","code","message"],"title":"ErrorDetailWithRequestId","type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorDetailWithRequestId · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"exampleType":"examples"}},"exampleType":"examples"},"43fdb9a4-15c0-4db3-9c7f-47fe4c1dd6be":{"description":"Serviço indisponível — uma dependência externa está indisponível.","content":{"application/json":{"examples":{"service_unavailable":{"title":"service_unavailable","summary":"External service unavailable","value":{"error":{"type":"api_error","code":"service_unavailable","message":"The service is temporarily unavailable. Please try again later.","requestId":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"}}}},"schema":{"description":"Envelope padronizado de resposta de erro.","properties":{"error":{"description":"Top-level error object: :class:`ErrorDetail` plus the request correlation id.\n\nKept as a subclass rather than a field on ``ErrorDetail`` because ``ErrorDetail`` is\nalso the per-item error shape inside the batch account-creation response\n(``BatchAccountResult.error``), which is serialized with nulls included. Adding the\nfield there would publish ``\"requestId\": null`` on an HTTP 200, and there is only\never one request id per batch anyway -- batch callers read the ``X-Request-ID``\nresponse header.","properties":{"type":{"description":"Broad error category for high-level handling.","examples":["invalid_request_error"],"title":"Type","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"description":"Machine-readable error code. Clients should switch on this value.","examples":["parameter_invalid"],"title":"Code","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable error message ending with a period.","examples":["idCountry must be a valid country name, ISO alpha-2, or ISO alpha-3 code."],"title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","title":"Param","description":"The request field that caused the error, if applicable.","example":"idCountry","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"details":{"oneOf":[{"type":"object","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"Details · object"},{"type":"null","title":"Details","description":"Optional structured, machine-readable context for the error.","example":{"pendingConsultations":[{"sessionId":"abc123","url":"https://..."}]},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"Details · object | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Unique id for this request, identical to the X-Request-ID response header. Quote it when contacting support.","example":"3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30","uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["type","code","message"],"title":"ErrorDetailWithRequestId","type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorDetailWithRequestId · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"0f69f215-95eb-4490-a260-5a2fd2690d99":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Chave de API enviada como token Bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"0c07e3a5-f254-42d9-ab16-3e3c06194b04":{"url":"https://scribe-api.telepatia.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Chave de API enviada como token Bearer","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Chave de API enviada como token Bearer","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"pt-BR/scribe-api/openapi-institutional.json"},"subdomain":"telepatia","siteName":"Telepatia Integration Hub","title":"Start a live consultation audio session - Telepatia Integration Hub","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session","matchLevel":1},"es":{"href":"/es/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session","matchLevel":1},"pt-BR":{"href":"/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session","matchLevel":0}}},"lastModified":"2026-11-17T21:28:25.266Z","originalFileLocation":"pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session.mdx","locale":"pt-BR"},"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=\"dark\"}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=\"Create a consultation and receive a WebSocket URL to stream the audio to. Body is application/json with the same metadata as the batch endpoint (consultation, template, patient, context); the audio block is not accepted. Stream to live.url as described on that field, then finish through the webhook + document GET contract shared with the batch endpoint. Retrying with the same consultation id while recording returns the same session with a fresh URL; finished consultations return 409.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Telepatia Integration Hub\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/telepatia/OLJIwBJRQDRP-xU6/_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/telepatia/OLJIwBJRQDRP-xU6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/telepatia/OLJIwBJRQDRP-xU6/_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/telepatia/OLJIwBJRQDRP-xU6/_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/telepatia/OLJIwBJRQDRP-xU6/_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/telepatia/OLJIwBJRQDRP-xU6/_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/telepatia/OLJIwBJRQDRP-xU6/_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/telepatia/OLJIwBJRQDRP-xU6/_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/telepatia/OLJIwBJRQDRP-xU6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Start a live consultation audio session - Telepatia Integration Hub\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a consultation and receive a WebSocket URL to stream the audio to. Body is application/json with the same metadata as the batch endpoint (consultation, template, patient, context); the audio block is not accepted. Stream to live.url as described on that field, then finish through the webhook + document GET contract shared with the batch endpoint. Retrying with the same consultation id while recording returns the same session with a fresh URL; finished consultations return 409.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Telepatia Integration Hub\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.telepatia.ai/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://telepatia.mintlify.site/_mintlify/api/og/v2?division=Sess%C3%B5es+de+Scribe\u0026amp;title=Start+a+live+consultation+audio+session\u0026amp;description=Create+a+consultation+and+receive+a+WebSocket+URL+to+stream+the+audio+to.+Body+is+%60application%2Fjson%60+with+the+same+metadata+as+the+batch+endpoint+%28%60consultation\u0026amp;theme=0ec03f52733e0fdc96cf81ba\u0026amp;signature=86c637327925a0f34a38bb1d1fbcae2a58d1f911a10d0f43dfd1e557ed77ff52\">\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=\"Start a live consultation audio session - Telepatia Integration Hub\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a consultation and receive a WebSocket URL to stream the audio to. Body is application/json with the same metadata as the batch endpoint (consultation, template, patient, context); the audio block is not accepted. Stream to live.url as described on that field, then finish through the webhook + document GET contract shared with the batch endpoint. Retrying with the same consultation id while recording returns the same session with a fresh URL; finished consultations return 409.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://telepatia.mintlify.site/_mintlify/api/og/v2?division=Sess%C3%B5es+de+Scribe\u0026amp;title=Start+a+live+consultation+audio+session\u0026amp;description=Create+a+consultation+and+receive+a+WebSocket+URL+to+stream+the+audio+to.+Body+is+%60application%2Fjson%60+with+the+same+metadata+as+the+batch+endpoint+%28%60consultation\u0026amp;theme=0ec03f52733e0fdc96cf81ba\u0026amp;signature=86c637327925a0f34a38bb1d1fbcae2a58d1f911a10d0f43dfd1e557ed77ff52\">\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/telepatia/OLJIwBJRQDRP-xU6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Telepatia Integration Hub\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#056F42\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.telepatia.ai/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.telepatia.ai/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.telepatia.ai/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.telepatia.ai/es/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.telepatia.ai/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.telepatia.ai/#organization\",\"name\":\"Telepatia Integration Hub\",\"url\":\"https://docs.telepatia.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/telepatia/9kt4voitLfovraG3/logo/light.svg?fit=max\u0026auto=format\u0026n=9kt4voitLfovraG3\u0026q=85\u0026s=85910533c2a504f94c6caf838b5578c5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.telepatia.ai#website\",\"name\":\"Telepatia Integration Hub\",\"url\":\"https://docs.telepatia.ai\",\"publisher\":{\"@id\":\"https://docs.telepatia.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.telepatia.ai/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session#webpage\",\"url\":\"https://docs.telepatia.ai/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session\",\"name\":\"Start a live consultation audio session\",\"description\":\"Create a consultation and receive a WebSocket URL to stream the audio to. Body is application/json with the same metadata as the batch endpoint (consultation, template, patient, context); the audio block is not accepted. Stream to live.url as described on that field, then finish through the webhook + document GET contract shared with the batch endpoint. Retrying with the same consultation id while recording returns the same session with a fresh URL; finished consultations return 409.\",\"dateModified\":\"2026-11-17T21:28:25.266Z\",\"isPartOf\":{\"@id\":\"https://docs.telepatia.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.telepatia.ai/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.telepatia.ai/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Telepatia Integration Hub\",\"item\":\"https://docs.telepatia.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Start a live consultation audio session\",\"item\":\"https://docs.telepatia.ai/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.telepatia.ai/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session#apireference\",\"headline\":\"Start a live consultation audio session\",\"name\":\"Start a live consultation audio session\",\"description\":\"Create a consultation and receive a WebSocket URL to stream the audio to. Body is application/json with the same metadata as the batch endpoint (consultation, template, patient, context); the audio block is not accepted. Stream to live.url as described on that field, then finish through the webhook + document GET contract shared with the batch endpoint. Retrying with the same consultation id while recording returns the same session with a fresh URL; finished consultations return 409.\",\"url\":\"https://docs.telepatia.ai/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.telepatia.ai/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session#webpage\"},\"dateModified\":\"2026-11-17T21:28:25.266Z\",\"publisher\":{\"@id\":\"https://docs.telepatia.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.telepatia.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Telepatia Integration Hub\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Telepatia Integration Hub\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session.md","siteName":"Telepatia Integration Hub","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session"}]},{"language":"es","pages":[{"title":"es","href":"/es/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session"}]},{"language":"pt-BR","tabs":[{"tab":"Início","pages":[{"title":"Início","href":"/pt-BR"}]},{"tab":"Scribe API","dropdowns":[{"dropdown":"Guias","groups":[{"group":"Primeiros passos","pages":[{"title":"Integre seus sistemas com a Telepatia","sidebarTitle":"Central de integração","mode":"wide","href":"/pt-BR/scribe-api"},{"title":"Visão geral da Scribe API","href":"/pt-BR/scribe-api/overview"},{"title":"Médico vs. Institucional","href":"/pt-BR/scribe-api/doctor-vs-institutional"},{"title":"Início rápido","href":"/pt-BR/scribe-api/quickstart"},{"title":"Autenticação","href":"/pt-BR/scribe-api/authentication"},{"title":"Login único (SAML)","href":"/pt-BR/scribe-api/sso"}]},{"group":"Conceitos principais","pages":[{"title":"Consultas","href":"/pt-BR/scribe-api/consultations"},{"title":"Sessões de Scribe","href":"/pt-BR/scribe-api/scribe-sessions"},{"title":"Sessões ao Vivo","href":"/pt-BR/scribe-api/live-sessions"},{"title":"Documentos de Registro Médico","href":"/pt-BR/scribe-api/medical-record-documents"},{"title":"Smart Templates","href":"/pt-BR/scribe-api/smart-templates"},{"title":"Seções","href":"/pt-BR/scribe-api/smart-templates-nodes"},{"title":"OutputSchema","href":"/pt-BR/scribe-api/smart-templates-output-schema"},{"title":"Receituário de campos","href":"/pt-BR/scribe-api/smart-templates-recipes"},{"title":"Prompts Telepatia","href":"/pt-BR/scribe-api/telepatia-nodes"},{"title":"Suporte à Decisão Clínica","href":"/pt-BR/scribe-api/cdss-alerts"},{"title":"Webhooks","href":"/pt-BR/scribe-api/webhooks"},{"title":"Atualizações de documentos de editoras","href":"/pt-BR/scribe-api/publisher-updates"}]},{"group":"Contas e pacientes","pages":[{"title":"Contas","href":"/pt-BR/scribe-api/accounts"},{"title":"Pacientes","href":"/pt-BR/scribe-api/patients"},{"title":"Agendamentos","href":"/pt-BR/scribe-api/appointments"},{"title":"Templates de Sessão","href":"/pt-BR/scribe-api/session-templates"},{"title":"Auditorias","href":"/pt-BR/scribe-api/audits"}]},{"group":"Referência","pages":[{"title":"Localização","href":"/pt-BR/scribe-api/localization"},{"title":"Tratamento de erros","href":"/pt-BR/scribe-api/errors"},{"title":"Versionamento da API","href":"/pt-BR/scribe-api/versioning"}]}]},{"dropdown":"API Médico","groups":[{"group":"Autenticação","pages":[{"title":"Login","deprecated":null,"version":null,"sidebarTitle":"Login","openapi":"/pt-BR/scribe-api/openapi.json post /v1/auth/login","href":"/pt-br/scribe-api/authentication/login"}]},{"group":"Consultas","pages":[{"title":"Definir contexto da consulta","deprecated":null,"version":null,"sidebarTitle":"Set consultation context","openapi":"/pt-BR/scribe-api/openapi.json post /v1/set-consultation-context","href":"/pt-br/scribe-api/consultation/set-consultation-context"}]},{"group":"Sessões de Scribe","pages":[{"title":"Start a live consultation audio session","deprecated":null,"version":null,"sidebarTitle":"Start a live consultation audio session","openapi":"/pt-BR/scribe-api/openapi.json post /v1/scribe-sessions/live","href":"/pt-br/scribe-api/scribe-sessions/start-a-live-consultation-audio-session"},{"title":"Buscar sessão de Scribe","deprecated":null,"version":null,"sidebarTitle":"Look up scribe session","openapi":"/pt-BR/scribe-api/openapi.json get /v1/scribe-sessions/{id}","href":"/pt-br/scribe-api/session-scribes/look-up-scribe-session"},{"title":"Listar documentos de prontuário médico","deprecated":null,"version":null,"sidebarTitle":"List medical record documents","openapi":"/pt-BR/scribe-api/openapi.json get /v1/scribe-sessions/{id}/medical-record-documents","href":"/pt-br/scribe-api/medical-record-documents/list-medical-record-documents"}]},{"group":"Suporte à Decisão Clínica","pages":[{"title":"Aceitar um alerta de CDSS","deprecated":null,"version":null,"sidebarTitle":"Accept a cdss alert","openapi":"/pt-BR/scribe-api/openapi.json post /v1/cdss/alerts/{alert_id}/accept","href":"/pt-br/scribe-api/cdss/accept-a-cdss-alert"},{"title":"Rejeitar um alerta de CDSS","deprecated":null,"version":null,"sidebarTitle":"Reject a cdss alert","openapi":"/pt-BR/scribe-api/openapi.json post /v1/cdss/alerts/{alert_id}/reject","href":"/pt-br/scribe-api/cdss/reject-a-cdss-alert"},{"title":"Registrar decisões para vários alertas de CDSS","deprecated":null,"version":null,"sidebarTitle":"Record decisions for several cdss alerts","openapi":"/pt-BR/scribe-api/openapi.json post /v1/cdss/decisions","href":"/pt-br/scribe-api/cdss/record-decisions-for-several-cdss-alerts"}]},{"group":"Smart Templates","pages":[{"title":"Criar uma Smart Template","deprecated":null,"version":null,"sidebarTitle":"Create a smart template","openapi":"/pt-BR/scribe-api/openapi.json post /v1/medical-record-configurations","href":"/pt-br/scribe-api/medical-record-configurations/create-a-smart-template"},{"title":"Listar Smart Templates","deprecated":null,"version":null,"sidebarTitle":"List smart templates","openapi":"/pt-BR/scribe-api/openapi.json get /v1/medical-record-configurations","href":"/pt-br/scribe-api/medical-record-configurations/list-smart-templates"},{"title":"Buscar uma Smart Template por ID","deprecated":null,"version":null,"sidebarTitle":"Get a smart template by id","openapi":"/pt-BR/scribe-api/openapi.json get /v1/medical-record-configurations/{configuration_id}","href":"/pt-br/scribe-api/medical-record-configurations/get-a-smart-template-by-id"},{"title":"Update a Smart Template","deprecated":null,"version":null,"sidebarTitle":"Update a smart template","openapi":"/pt-BR/scribe-api/openapi.json put /v1/medical-record-configurations/{configuration_id}","href":"/pt-br/scribe-api/medical-record-configurations/update-a-smart-template"},{"title":"Excluir uma Smart Template","deprecated":null,"version":null,"sidebarTitle":"Delete a smart template","openapi":"/pt-BR/scribe-api/openapi.json delete /v1/medical-record-configurations/{configuration_id}","href":"/pt-br/scribe-api/medical-record-configurations/delete-a-smart-template"}]},{"group":"Templates de Sessão","pages":[{"title":"Listar configurações de sessão de scribe","deprecated":null,"version":null,"sidebarTitle":"List scribe session configurations","openapi":"/pt-BR/scribe-api/openapi.json get /v1/scribe-session-configurations","href":"/pt-br/scribe-api/scribe-session-configurations/list-scribe-session-configurations"}]},{"group":"Pacientes","pages":[{"title":"Criar um paciente","deprecated":null,"version":null,"sidebarTitle":"Create a patient","openapi":"/pt-BR/scribe-api/openapi.json post /v1/patients","href":"/pt-br/scribe-api/patients/create-a-patient"},{"title":"Listar pacientes","deprecated":null,"version":null,"sidebarTitle":"List patients","openapi":"/pt-BR/scribe-api/openapi.json get /v1/patients","href":"/pt-br/scribe-api/patients/list-patients"},{"title":"Buscar um paciente por ID","deprecated":null,"version":null,"sidebarTitle":"Get a patient by id","openapi":"/pt-BR/scribe-api/openapi.json get /v1/patients/{patient_id}","href":"/pt-br/scribe-api/patients/get-a-patient-by-id"},{"title":"Atualizar um paciente","deprecated":null,"version":null,"sidebarTitle":"Update a patient","openapi":"/pt-BR/scribe-api/openapi.json patch /v1/patients/{patient_id}","href":"/pt-br/scribe-api/patients/update-a-patient"},{"title":"Excluir um paciente","deprecated":null,"version":null,"sidebarTitle":"Delete a patient","openapi":"/pt-BR/scribe-api/openapi.json delete /v1/patients/{patient_id}","href":"/pt-br/scribe-api/patients/delete-a-patient"},{"title":"Listar as sessões de scribe de um paciente","deprecated":null,"version":null,"sidebarTitle":"List a patients scribe sessions","openapi":"/pt-BR/scribe-api/openapi.json get /v1/patients/{patient_id}/scribe-sessions","href":"/pt-br/scribe-api/patients/list-a-patients-scribe-sessions"}]},{"group":"Agendamentos","pages":[{"title":"Agendar uma consulta","deprecated":null,"version":null,"sidebarTitle":"Create an appointment","openapi":"/pt-BR/scribe-api/openapi.json post /v1/appointments","href":"/pt-br/scribe-api/appointments/create-an-appointment"},{"title":"Listar agendamentos (agenda)","deprecated":null,"version":null,"sidebarTitle":"List appointments agenda","openapi":"/pt-BR/scribe-api/openapi.json get /v1/appointments","href":"/pt-br/scribe-api/appointments/list-appointments-agenda"},{"title":"Consultar um agendamento por ID","deprecated":null,"version":null,"sidebarTitle":"Get an appointment by id","openapi":"/pt-BR/scribe-api/openapi.json get /v1/appointments/{appointment_id}","href":"/pt-br/scribe-api/appointments/get-an-appointment-by-id"},{"title":"Atualizar um agendamento","deprecated":null,"version":null,"sidebarTitle":"Update an appointment","openapi":"/pt-BR/scribe-api/openapi.json patch /v1/appointments/{appointment_id}","href":"/pt-br/scribe-api/appointments/update-an-appointment"}]},{"group":"Auditorias","pages":[{"title":"Consultar a auditoria de uma sessão","deprecated":null,"version":null,"sidebarTitle":"Get a sessions audit","openapi":"/pt-BR/scribe-api/openapi.json get /v1/scribe-sessions/{id}/audit","href":"/pt-br/scribe-api/audits/get-a-sessions-audit"}]}]},{"dropdown":"API Institucional","groups":[{"group":"Autenticação","pages":[{"title":"Login","deprecated":null,"version":null,"sidebarTitle":"Login","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/auth/login","href":"/pt-br/scribe-api-institutional/authentication/login"}]},{"group":"Contas","pages":[{"title":"Criar uma conta de médico","deprecated":null,"version":null,"sidebarTitle":"Create a doctor account","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/institutional/accounts","href":"/pt-br/scribe-api-institutional/institutional/create-a-doctor-account"},{"title":"Criar contas de médico em lote","deprecated":null,"version":null,"sidebarTitle":"Create doctor accounts in bulk","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/institutional/accounts/batch","href":"/pt-br/scribe-api-institutional/institutional/create-doctor-accounts-in-bulk"},{"title":"Listar as contas da instituição","deprecated":null,"version":null,"sidebarTitle":"List the institutions accounts","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/institutional/accounts","href":"/pt-br/scribe-api-institutional/institutional/list-the-institutions-accounts"},{"title":"Buscar uma conta de médico","deprecated":null,"version":null,"sidebarTitle":"Get a doctor account","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/institutional/accounts/{account_id}","href":"/pt-br/scribe-api-institutional/institutional/get-a-doctor-account"},{"title":"Atualizar uma conta de médico","deprecated":null,"version":null,"sidebarTitle":"Update a doctor account","openapi":"/pt-BR/scribe-api/openapi-institutional.json patch /v1/institutional/accounts/{account_id}","href":"/pt-br/scribe-api-institutional/institutional/update-a-doctor-account"},{"title":"Regenerar a chave de API de uma conta de médico","deprecated":null,"version":null,"sidebarTitle":"Regenerate a doctor accounts api key","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/institutional/accounts/{account_id}/api-keys/regenerate","href":"/pt-br/scribe-api-institutional/institutional/regenerate-a-doctor-accounts-api-key"}]},{"group":"Editoras","pages":[{"title":"Notificar um documento alterado","deprecated":null,"version":null,"sidebarTitle":"Notify a changed document","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/publishers/documents/changed","href":"/pt-br/scribe-api-institutional/publishers/notify-a-changed-document"}]},{"group":"Unidades","pages":[{"title":"Criar uma filial","deprecated":null,"version":null,"sidebarTitle":"Create a branch","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/institutional/branches","href":"/pt-br/scribe-api-institutional/institutional/create-a-branch"},{"title":"Listar as filiais da instituição","description":"Retorna cada filial da instituição autenticada com seu `id` e seu `name`, na ordem armazenada pela instituição. Exige uma chave de API institucional; uma chave de médico é rejeitada com um 403. Inclui as filiais ocultas. Ao criar contas, envie o `id` de uma filial como `institutionalBranchId` ou seu `name` como `institutionalBranchName`. Ao definir o contexto da consulta, envie seu `id` como `institutionalBranchId`. Paginado.","deprecated":null,"version":null,"sidebarTitle":"List the institutions branches","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/institutional/branches","href":"/pt-br/scribe-api-institutional/institutional/list-the-institutions-branches"}]},{"group":"Sessões de Scribe","pages":[{"title":"Start a live consultation audio session","deprecated":null,"version":null,"sidebarTitle":"Start a live consultation audio session","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/scribe-sessions/live","href":"/pt-br/scribe-api-institutional/scribe-sessions/start-a-live-consultation-audio-session"},{"title":"Buscar sessão de Scribe","description":"Busca uma sessão de scribe pelo ID.","deprecated":null,"version":null,"sidebarTitle":"Look up scribe session","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/scribe-sessions/{id}","href":"/pt-br/scribe-api-institutional/session-scribes/look-up-scribe-session"},{"title":"Listar documentos de prontuário médico","deprecated":null,"version":null,"sidebarTitle":"List medical record documents","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/scribe-sessions/{id}/medical-record-documents","href":"/pt-br/scribe-api-institutional/medical-record-documents/list-medical-record-documents"}]},{"group":"Suporte à Decisão Clínica","pages":[{"title":"Aceitar um alerta de CDSS","deprecated":null,"version":null,"sidebarTitle":"Accept a cdss alert","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/cdss/alerts/{alert_id}/accept","href":"/pt-br/scribe-api-institutional/cdss/accept-a-cdss-alert"},{"title":"Rejeitar um alerta de CDSS","deprecated":null,"version":null,"sidebarTitle":"Reject a cdss alert","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/cdss/alerts/{alert_id}/reject","href":"/pt-br/scribe-api-institutional/cdss/reject-a-cdss-alert"},{"title":"Registrar decisões para vários alertas de CDSS","deprecated":null,"version":null,"sidebarTitle":"Record decisions for several cdss alerts","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/cdss/decisions","href":"/pt-br/scribe-api-institutional/cdss/record-decisions-for-several-cdss-alerts"}]},{"group":"Smart Templates","pages":[{"title":"Criar uma Smart Template","deprecated":null,"version":null,"sidebarTitle":"Create a smart template","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/medical-record-configurations","href":"/pt-br/scribe-api-institutional/medical-record-configurations/create-a-smart-template"},{"title":"Listar Smart Templates","deprecated":null,"version":null,"sidebarTitle":"List smart templates","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/medical-record-configurations","href":"/pt-br/scribe-api-institutional/medical-record-configurations/list-smart-templates"},{"title":"Buscar uma Smart Template por ID","deprecated":null,"version":null,"sidebarTitle":"Get a smart template by id","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/medical-record-configurations/{configuration_id}","href":"/pt-br/scribe-api-institutional/medical-record-configurations/get-a-smart-template-by-id"},{"title":"Update a Smart Template","deprecated":null,"version":null,"sidebarTitle":"Update a smart template","openapi":"/pt-BR/scribe-api/openapi-institutional.json put /v1/medical-record-configurations/{configuration_id}","href":"/pt-br/scribe-api-institutional/medical-record-configurations/update-a-smart-template"},{"title":"Excluir uma Smart Template","deprecated":null,"version":null,"sidebarTitle":"Delete a smart template","openapi":"/pt-BR/scribe-api/openapi-institutional.json delete /v1/medical-record-configurations/{configuration_id}","href":"/pt-br/scribe-api-institutional/medical-record-configurations/delete-a-smart-template"}]},{"group":"Templates de Sessão","pages":[{"title":"Listar configurações de sessão de scribe","deprecated":null,"version":null,"sidebarTitle":"List scribe session configurations","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/scribe-session-configurations","href":"/pt-br/scribe-api-institutional/scribe-session-configurations/list-scribe-session-configurations"}]},{"group":"Webhooks","pages":[{"title":"Criar uma assinatura de webhook","deprecated":null,"version":null,"sidebarTitle":"Create a webhook subscription","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/webhooks","href":"/pt-br/scribe-api-institutional/webhooks/create-a-webhook-subscription"},{"title":"Listar assinaturas de webhook","deprecated":null,"version":null,"sidebarTitle":"List webhook subscriptions","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/webhooks","href":"/pt-br/scribe-api-institutional/webhooks/list-webhook-subscriptions"},{"title":"Buscar uma assinatura de webhook por ID","deprecated":null,"version":null,"sidebarTitle":"Get a webhook subscription by id","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/webhooks/{webhook_id}","href":"/pt-br/scribe-api-institutional/webhooks/get-a-webhook-subscription-by-id"},{"title":"Atualizar uma assinatura de webhook","deprecated":null,"version":null,"sidebarTitle":"Update a webhook subscription","openapi":"/pt-BR/scribe-api/openapi-institutional.json patch /v1/webhooks/{webhook_id}","href":"/pt-br/scribe-api-institutional/webhooks/update-a-webhook-subscription"},{"title":"Rotacionar o segredo de assinatura de um webhook","deprecated":null,"version":null,"sidebarTitle":"Rotate a webhook signing secret","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/webhooks/{webhook_id}/rotate-secret","href":"/pt-br/scribe-api-institutional/webhooks/rotate-a-webhook-signing-secret"}]},{"group":"Pacientes","pages":[{"title":"Criar um paciente","deprecated":null,"version":null,"sidebarTitle":"Create a patient","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/patients","href":"/pt-br/scribe-api-institutional/patients/create-a-patient"},{"title":"Listar pacientes","deprecated":null,"version":null,"sidebarTitle":"List patients","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/patients","href":"/pt-br/scribe-api-institutional/patients/list-patients"},{"title":"Buscar um paciente por ID","deprecated":null,"version":null,"sidebarTitle":"Get a patient by id","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/patients/{patient_id}","href":"/pt-br/scribe-api-institutional/patients/get-a-patient-by-id"},{"title":"Atualizar um paciente","deprecated":null,"version":null,"sidebarTitle":"Update a patient","openapi":"/pt-BR/scribe-api/openapi-institutional.json patch /v1/patients/{patient_id}","href":"/pt-br/scribe-api-institutional/patients/update-a-patient"},{"title":"Excluir um paciente","deprecated":null,"version":null,"sidebarTitle":"Delete a patient","openapi":"/pt-BR/scribe-api/openapi-institutional.json delete /v1/patients/{patient_id}","href":"/pt-br/scribe-api-institutional/patients/delete-a-patient"},{"title":"Listar as sessões de scribe de um paciente","deprecated":null,"version":null,"sidebarTitle":"List a patients scribe sessions","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/patients/{patient_id}/scribe-sessions","href":"/pt-br/scribe-api-institutional/patients/list-a-patients-scribe-sessions"}]},{"group":"Agendamentos","pages":[{"title":"Agendar uma consulta","deprecated":null,"version":null,"sidebarTitle":"Create an appointment","openapi":"/pt-BR/scribe-api/openapi-institutional.json post /v1/appointments","href":"/pt-br/scribe-api-institutional/appointments/create-an-appointment"},{"title":"Listar agendamentos (agenda)","deprecated":null,"version":null,"sidebarTitle":"List appointments agenda","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/appointments","href":"/pt-br/scribe-api-institutional/appointments/list-appointments-agenda"},{"title":"Consultar um agendamento por ID","deprecated":null,"version":null,"sidebarTitle":"Get an appointment by id","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/appointments/{appointment_id}","href":"/pt-br/scribe-api-institutional/appointments/get-an-appointment-by-id"},{"title":"Atualizar um agendamento","deprecated":null,"version":null,"sidebarTitle":"Update an appointment","openapi":"/pt-BR/scribe-api/openapi-institutional.json patch /v1/appointments/{appointment_id}","href":"/pt-br/scribe-api-institutional/appointments/update-an-appointment"}]},{"group":"Auditorias","pages":[{"title":"Consultar a auditoria de uma sessão","deprecated":null,"version":null,"sidebarTitle":"Get a sessions audit","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/scribe-sessions/{id}/audit","href":"/pt-br/scribe-api-institutional/audits/get-a-sessions-audit"},{"title":"Listar auditorias","deprecated":null,"version":null,"sidebarTitle":"List audits","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/audits","href":"/pt-br/scribe-api-institutional/audits/list-audits"},{"title":"Listar configurações de auditoria","deprecated":null,"version":null,"sidebarTitle":"List audit configurations","openapi":"/pt-BR/scribe-api/openapi-institutional.json get /v1/audits/configurations","href":"/pt-br/scribe-api-institutional/audits/list-audit-configurations"}]}]},{"dropdown":"Prompts de IA","groups":[{"group":"Configuração","pages":[{"title":"Prompts de IA","href":"/pt-BR/scribe-api/prompts/setup"}]},{"group":"Médico","pages":[{"title":"Login","href":"/pt-BR/scribe-api/prompts/login"},{"title":"Definir contexto da consulta","href":"/pt-BR/scribe-api/prompts/setConsultationContext"},{"title":"Buscar sessão de Scribe","href":"/pt-BR/scribe-api/prompts/getScribeSession"},{"title":"Listar documentos de prontuário médico","href":"/pt-BR/scribe-api/prompts/listMedicalRecordDocuments"},{"title":"Listar configurações de sessão de scribe","href":"/pt-BR/scribe-api/prompts/listScribeSessionConfigurations"},{"title":"Criar uma Smart Template","href":"/pt-BR/scribe-api/prompts/createSmartTemplate"},{"title":"Listar Smart Templates","href":"/pt-BR/scribe-api/prompts/listSmartTemplates"},{"title":"Buscar uma Smart Template por ID","href":"/pt-BR/scribe-api/prompts/getSmartTemplate"},{"title":"Excluir uma Smart Template","href":"/pt-BR/scribe-api/prompts/deleteSmartTemplate"},{"title":"Criar um paciente","href":"/pt-BR/scribe-api/prompts/createPatient"},{"title":"Listar pacientes","href":"/pt-BR/scribe-api/prompts/listPatients"},{"title":"Buscar um paciente por ID","href":"/pt-BR/scribe-api/prompts/getPatient"},{"title":"Atualizar um paciente","href":"/pt-BR/scribe-api/prompts/updatePatient"},{"title":"Excluir um paciente","href":"/pt-BR/scribe-api/prompts/deletePatient"},{"title":"Listar as sessões de scribe de um paciente","href":"/pt-BR/scribe-api/prompts/listPatientScribeSessions"},{"title":"Agendar uma consulta","href":"/pt-BR/scribe-api/prompts/createAppointment"},{"title":"Listar agendamentos (agenda)","href":"/pt-BR/scribe-api/prompts/listAppointments"},{"title":"Consultar um agendamento por ID","href":"/pt-BR/scribe-api/prompts/getAppointment"},{"title":"Atualizar um agendamento","href":"/pt-BR/scribe-api/prompts/updateAppointment"},{"title":"Consultar a auditoria de uma sessão","href":"/pt-BR/scribe-api/prompts/getSessionAudit"},{"title":"Aceitar um alerta de CDSS","href":"/pt-BR/scribe-api/prompts/acceptCdssAlert"},{"title":"Rejeitar um alerta de CDSS","href":"/pt-BR/scribe-api/prompts/rejectCdssAlert"},{"title":"Registrar decisões para vários alertas de CDSS","href":"/pt-BR/scribe-api/prompts/submitCdssDecisions"}]},{"group":"Institucional","pages":[{"title":"Criar uma conta de médico","href":"/pt-BR/scribe-api/prompts/createInstitutionalAccount"},{"title":"Buscar uma conta de médico","href":"/pt-BR/scribe-api/prompts/getInstitutionalAccount"},{"title":"Atualizar uma conta de médico","href":"/pt-BR/scribe-api/prompts/updateInstitutionalAccount"},{"title":"Regenerar a chave de API de uma conta de médico","href":"/pt-BR/scribe-api/prompts/regenerateAccountApiKey"},{"title":"Criar uma filial","href":"/pt-BR/scribe-api/prompts/createInstitutionalBranch"},{"title":"Listar as filiais da instituição","href":"/pt-BR/scribe-api/prompts/listInstitutionalBranches"},{"title":"Listar auditorias","href":"/pt-BR/scribe-api/prompts/listAudits"},{"title":"Listar configurações de auditoria","href":"/pt-BR/scribe-api/prompts/listAuditConfigurations"}]},{"group":"Webhooks","pages":[{"title":"Criar uma assinatura de webhook","href":"/pt-BR/scribe-api/prompts/createWebhook"},{"title":"Listar assinaturas de webhook","href":"/pt-BR/scribe-api/prompts/listWebhooks"},{"title":"Buscar uma assinatura de webhook por ID","href":"/pt-BR/scribe-api/prompts/getWebhook"},{"title":"Atualizar uma assinatura de webhook","href":"/pt-BR/scribe-api/prompts/updateWebhook"},{"title":"Rotacionar o segredo de assinatura de um webhook","href":"/pt-BR/scribe-api/prompts/rotateWebhookSecret"}]}]}]},{"tab":"Embed","pages":[{"title":"Embed","href":"/pt-BR/telepatia-embed"}]},{"tab":"Web Companion","pages":[{"title":"Web Companion","href":"/pt-BR/scribe-web-companion"}]},{"tab":"App Mobile","pages":[{"title":"App Mobile","href":"/pt-BR/mobile-app"}]}]}]},"basePath":"","title":"Start a live consultation audio session - Telepatia Integration Hub","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}