> ## Documentation Index
> Fetch the complete documentation index at: https://docs.medera.info/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction to the Medera API

> Overview of the Medera application programming interfaces

Medera is the AI infrastructure stack for behavioral and mental health, built for clinical accuracy, evidence anchoring, and enterprise compliance. Behavioral health's specialized language, validated screeners, and crisis-detection requirements demand purpose-built AI infrastructure — not a generic LLM with a prompt. The Medera platform delivers multimodal sensing, medical-grade text generation, and agentic clinical automation through a single API that drops into existing EHR and payer workflows.

<Tip>
  The platform runs on a HIPAA-grade runtime with Row-Level Security on every tenant-scoped table, AES-256 at rest for PHI, and 42 CFR Part 2 controls in the request path.
</Tip>

## Why choose Medera

|                                         |                                                                                          |
| :-------------------------------------- | :--------------------------------------------------------------------------------------- |
| **Purpose-built for behavioral health** | Validated screeners, crisis detection, and 42 CFR Part 2 controls are first-class.       |
| **Multimodal by default**               | Voice, facial physiology, and linguistic content fuse into one defensible clinical read. |
| **Composable agents**                   | 24 production agents and core canvas nodes + clinical rails and a typed expert registry. |
| **Customizable and scalable**           | Sandbox-first deployments with semver versioning and WORM audit on every promotion.      |

<Columns cols={2}>
  <Card title="Flexible infrastructure" icon="https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/layers.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=b19e6f39887a8a61762fcb53957d2271" width="40" height="40" data-path="icons/ui/layers.svg">
    <Icon icon="circle-check" /> Bespoke REST + WebSocket APIs <br /> <Icon icon="circle-check" /> JavaScript + Python SDKs <br /> <Icon icon="circle-check" /> Embeddable web components
  </Card>

  <Card title="Built for healthcare" icon="https://mintcdn.com/medera-357fd587/n1mgcc3nR2sq_PoL/icons/ui/stethoscope.svg?fit=max&auto=format&n=n1mgcc3nR2sq_PoL&q=85&s=c8a7441d30a2ae7471a136c60f734adc" width="40" height="40" data-path="icons/ui/stethoscope.svg">
    <Icon icon="circle-check" /> Behavioral-health language proficiency <br /> <Icon icon="circle-check" /> Secure and compliant <br /> <Icon icon="circle-check" /> Real-time or asynchronous
  </Card>
</Columns>

***

## Integrate seamlessly

Medera integrates via REST + WebSocket.

The same API powers **Medera Studio** — a packaged, EHR-agnostic, real-time ambient scribe and intake agent. To embed Medera into an existing workflow or customize the interactions, dive into the API documentation below.

<CardGroup cols={2}>
  <Card title="Multimodal Sensing" icon="https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/audio-lines.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=a4f3136aa8df6fe2d044778c71ba2bbc" href="/multimodal/overview" horizontal width="40" height="40" data-path="icons/ui/audio-lines.svg">
    Voice + facial physiology + neurobehavioral fusion.
  </Card>

  <Card title="Text Generation" icon="https://mintcdn.com/medera-357fd587/n1mgcc3nR2sq_PoL/icons/ui/text-align-start.svg?fit=max&auto=format&n=n1mgcc3nR2sq_PoL&q=85&s=730c3b374df501e7694db27465e52760" href="/textgen/overview" horizontal width="40" height="40" data-path="icons/ui/text-align-start.svg">
    SOAP, referral, discharge, PA letters.
  </Card>

  <Card title="Agentic Framework" icon="https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/layers.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=b19e6f39887a8a61762fcb53957d2271" href="/agentic/overview" horizontal width="40" height="40" data-path="icons/ui/layers.svg">
    24 production agents + Agent Builder Canvas.
  </Card>

  <Card title="Medical Coding" icon="https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/code.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=55229463dbd5bbb579cce6192dbc5ffc" href="/coding/overview" horizontal width="40" height="40" data-path="icons/ui/code.svg">
    ICD-10, CPT, HCPCS, SNOMED, LOINC, RxNorm.
  </Card>
</CardGroup>

***

## Core capabilities

<CardGroup cols={3}>
  <Card title="Multimodal Sensing" icon="https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/audio-lines.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=a4f3136aa8df6fe2d044778c71ba2bbc" href="/multimodal/overview" horizontal width="40" height="40" data-path="icons/ui/audio-lines.svg">
    Real-time and asynchronous medical speech recognition, facial physiology, and vocal acoustics.
  </Card>

  <Card title="Text Generation" icon="https://mintcdn.com/medera-357fd587/n1mgcc3nR2sq_PoL/icons/ui/text-align-start.svg?fit=max&auto=format&n=n1mgcc3nR2sq_PoL&q=85&s=730c3b374df501e7694db27465e52760" href="/textgen/overview" horizontal width="40" height="40" data-path="icons/ui/text-align-start.svg">
    Reliable healthcare-focused LLM output, SOAP notes, and document generation.
  </Card>

  <Card title="Agentic Framework" icon="https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/layers.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=b19e6f39887a8a61762fcb53957d2271" href="/agentic/overview" horizontal width="40" height="40" data-path="icons/ui/layers.svg">
    24 composable clinical agents and a canvas to build your own.
  </Card>
</CardGroup>

***

## Two-service architecture

<Frame>
  <svg viewBox="0 0 720 420" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="medera/api-surface.svg" style={{ width: '100%', height: 'auto', display: 'block', maxWidth: '780px', margin: '24px auto' }}><defs><pattern id="mdr-dots" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="1" fill="rgba(0,0,0,0.08)" /></pattern></defs><rect x="0" y="0" width="720" height="420" fill="#ffffff" /><rect x="0" y="0" width="720" height="32" fill="#141413" /><circle cx="14" cy="16" r="3" fill="#ff5f57" /><circle cx="26" cy="16" r="3" fill="#febc2e" /><circle cx="38" cy="16" r="3" fill="#28c840" /><text x="54" y="20" fill="#9a9893" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="11" fontWeight="500">medera/api-surface.svg</text><text x="706" y="20" textAnchor="end" fill="#9a9893" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="10">API surface</text><rect x="0" y="32" width="720" height="388" fill="#fafaf6" /><rect x="0" y="32" width="720" height="388" fill="url(#mdr-dots)" /><rect x="0.5" y="0.5" width="719" height="419" fill="none" stroke="#141413" strokeOpacity="0.18" /><text x="360.0" y="56" textAnchor="middle" fill="#141413" fontFamily="Inter, sans-serif" fontSize="16" fontWeight="600">Medera API surface</text><text x="360.0" y="76" textAnchor="middle" fill="#5c5c5a" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="11">REST · WebSocket · typed SDKs</text><g transform="translate(342.00,182.00) scale(0.0900)"><path d="M125.778 244.185V386.747L7.5 315.726V173.162L125.778 244.185ZM259.057 315.725L140.778 386.747V244.185L259.057 173.162V315.725ZM251.986 159.91L133.277 231.193L14.5693 159.91L133.278 88.6282L251.986 159.91Z" fill="#141413" stroke="#ffffff" strokeWidth="15" /><path d="M259.222 164.304V306.866L140.944 235.845V93.2812L259.222 164.304ZM392.5 235.844L274.222 306.866V164.304L392.5 93.2812V235.844ZM385.43 80.0293L266.721 151.312L148.013 80.0293L266.722 8.74707L385.43 80.0293Z" fill="#141413" stroke="#ffffff" strokeWidth="15" /></g><rect x="250.0" y="230" width="220" height="38" fill="#141413" stroke="none" strokeWidth="1" /><text x="360.0" y="254" textAnchor="middle" fill="#ffffff" fontFamily="Inter, sans-serif" fontSize="13" fontWeight="600">Medera Platform</text><rect x="0" y="130" width="180" height="70" fill="#ffffff" stroke="rgba(0,0,0,0.08)" strokeWidth="1" /><rect x="16.20" y="144.80" width="11.20" height="1.40" fill="#141413" /><rect x="16.20" y="144.80" width="1.40" height="15.40" fill="#141413" /><rect x="16.20" y="160.20" width="12.60" height="1.40" fill="#141413" /><rect x="27.40" y="147.60" width="1.40" height="12.60" fill="#141413" /><rect x="26.00" y="144.80" width="1.40" height="1.40" fill="#141413" /><rect x="27.40" y="146.20" width="1.40" height="2.80" fill="#141413" /><rect x="19.00" y="150.40" width="7.00" height="1.40" fill="#76a1fc" /><rect x="19.00" y="153.20" width="7.00" height="1.40" fill="#76a1fc" /><rect x="19.00" y="156.00" width="4.20" height="1.40" fill="#76a1fc" /><text x="100" y="156" textAnchor="start" fill="#141413" fontFamily="Inter, sans-serif" fontSize="12" fontWeight="600">REST API</text><text x="100" y="174" textAnchor="start" fill="#5c5c5a" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="9">synchronous · idempotent</text><line x1="90" y1="200" x2="90" y2="230" stroke="rgba(20,20,19,0.40)" strokeDasharray="3 3" /><rect x="240" y="130" width="180" height="70" fill="#ffffff" stroke="rgba(0,0,0,0.08)" strokeWidth="1" /><rect x="254.80" y="151.80" width="1.40" height="2.80" fill="#141413" /><rect x="256.20" y="150.40" width="4.20" height="1.40" fill="#141413" /><rect x="256.20" y="154.60" width="4.20" height="1.40" fill="#141413" /><rect x="260.40" y="151.80" width="1.40" height="2.80" fill="#141413" /><rect x="266.00" y="151.80" width="1.40" height="2.80" fill="#141413" /><rect x="267.40" y="150.40" width="4.20" height="1.40" fill="#141413" /><rect x="267.40" y="154.60" width="4.20" height="1.40" fill="#141413" /><rect x="271.60" y="151.80" width="1.40" height="2.80" fill="#141413" /><rect x="260.40" y="151.80" width="5.60" height="2.80" fill="#76a1fc" /><text x="340" y="156" textAnchor="start" fill="#141413" fontFamily="Inter, sans-serif" fontSize="12" fontWeight="600">WebSocket</text><text x="340" y="174" textAnchor="start" fill="#5c5c5a" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="9">streaming · stateful sessions</text><line x1="330" y1="200" x2="330" y2="230" stroke="rgba(20,20,19,0.40)" strokeDasharray="3 3" /><rect x="480" y="130" width="180" height="70" fill="#ffffff" stroke="rgba(0,0,0,0.08)" strokeWidth="1" /><rect x="493.40" y="151.80" width="7.00" height="2.80" fill="#141413" /><rect x="500.40" y="151.80" width="1.40" height="2.80" fill="#141413" /><rect x="501.80" y="144.80" width="1.40" height="1.40" fill="#76a1fc" /><rect x="501.80" y="146.20" width="1.40" height="1.40" fill="#76a1fc" /><rect x="501.80" y="151.80" width="1.40" height="2.80" fill="#76a1fc" /><rect x="501.80" y="158.80" width="1.40" height="1.40" fill="#76a1fc" /><rect x="501.80" y="160.20" width="1.40" height="1.40" fill="#76a1fc" /><rect x="503.20" y="144.80" width="7.00" height="2.80" fill="#141413" /><rect x="503.20" y="151.80" width="7.00" height="2.80" fill="#141413" /><rect x="503.20" y="158.80" width="7.00" height="2.80" fill="#141413" /><text x="580" y="156" textAnchor="start" fill="#141413" fontFamily="Inter, sans-serif" fontSize="12" fontWeight="600">SDKs</text><text x="580" y="174" textAnchor="start" fill="#5c5c5a" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="9">TypeScript · Python</text><line x1="570" y1="200" x2="570" y2="230" stroke="rgba(20,20,19,0.40)" strokeDasharray="3 3" /><rect x="60" y="300" width="600" height="90" fill="#dbe5ff" stroke="#76a1fc" strokeWidth="1" /><text x="360.0" y="320" textAnchor="middle" fill="#4f7be0" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="10" fontWeight="700" letterSpacing="1.8">EMITS</text><rect x="80" y="340" width="66" height="26" fill="#ffffff" stroke="#76a1fc" strokeWidth="1" /><text x="113.0" y="357" textAnchor="middle" fill="#4f7be0" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="10" fontWeight="600">FHIR R4B</text><rect x="154" y="340" width="66" height="26" fill="#ffffff" stroke="#76a1fc" strokeWidth="1" /><text x="187.0" y="357" textAnchor="middle" fill="#4f7be0" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="10" fontWeight="600">DSM-5-TR</text><rect x="228" y="340" width="72" height="26" fill="#ffffff" stroke="#76a1fc" strokeWidth="1" /><text x="264.0" y="357" textAnchor="middle" fill="#4f7be0" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="10" fontWeight="600">ICD-10-CM</text><rect x="308" y="340" width="56" height="26" fill="#ffffff" stroke="#76a1fc" strokeWidth="1" /><text x="336.0" y="357" textAnchor="middle" fill="#4f7be0" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="10" fontWeight="600">CPT</text><rect x="372" y="340" width="78" height="26" fill="#ffffff" stroke="#76a1fc" strokeWidth="1" /><text x="411.0" y="357" textAnchor="middle" fill="#4f7be0" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="10" fontWeight="600">C-SSRS 1-6</text><rect x="458" y="340" width="56" height="26" fill="#ffffff" stroke="#76a1fc" strokeWidth="1" /><text x="486.0" y="357" textAnchor="middle" fill="#4f7be0" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="10" fontWeight="600">LOINC</text><rect x="522" y="340" width="56" height="26" fill="#ffffff" stroke="#76a1fc" strokeWidth="1" /><text x="550.0" y="357" textAnchor="middle" fill="#4f7be0" fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" fontSize="10" fontWeight="600">RxNorm</text></svg>
</Frame>

***

## Bringing it all together -

Each component has its own tab: [Multimodal Sensing](/multimodal/overview), [Text Generation](/textgen/overview), [Agentic Framework](/agentic/overview), and [Coding](/coding/overview).

* The [API Reference](/api-reference/welcome) tab provides detailed specifications for each endpoint.

* The [Console](https://medera.info/contact) is where you create accounts and Developer API Keys.

* Quickstarts outline how to get started fast. Start with [Authentication](/authentication/overview).

* The [SDKs](/sdks/overview) section covers JavaScript, Python, web components, and Postman.

* The [Examples Repository](https://github.com/medera-ai/examples) provides working code.

* The [Release Notes](/release-notes/overview) page provides the change policy and per-product notes.

<Note>
  If you have questions about implementing Medera in your environment or product, [contact us](https://medera.info/contact).
</Note>
