Text Generation API

Clinical note generation API built for healthcare

Turn transcripts, facts, or structured data into any type of clinical documentation via API. Tailored to your format, specialty, and language.

Powered by frontier research. Designed for developers. Trusted by clinicians.

Generate structured clinical documents with a few lines of code

cURL
curl --request POST \
  --url "https://api.${ENVIRONMENT}.corti.app/v2/documents" \
  --header "Authorization: Bearer ${TOKEN}" \
  --header "Tenant-Name: ${TENANT}" \
  --header "Content-Type: application/json" \
  --data "{
    \"outputLanguage\": \"en-US\",
    \"interactionId\": \"${INTERACTION_ID}\",
    \"templateRef\": { \"templateId\": \"${TEMPLATE_ID}\" }
  }"
JavaScript
const result = await client.documents.generate({
  outputLanguage: "en-US",
  interactionId: INTERACTION_ID,
  templateRef: { templateId: TEMPLATE_ID },
});
Python
response = requests.post(
    f"https://api.{ENVIRONMENT}.corti.app/v2/documents",
    headers={
        "Authorization": f"Bearer {TOKEN}",
        "Tenant-Name": TENANT,
        "Content-Type": "application/json",
    },
    json={
        "outputLanguage": "en-US",
        "interactionId": INTERACTION_ID,
        "templateRef": {"templateId": TEMPLATE_ID},
    },
)
C#
var result = await client.Documents.GenerateAsync(
    new GuidedDocumentsGenerateByTemplateRef
    {
        OutputLanguage = "en-US",
        InteractionId = InteractionId,
        TemplateRef = new GuidedTemplateRef { TemplateId = TemplateId },
    });

Text generation capabilities

  • Templated documents

    Create clinical notes from transcripts or facts using ready-made templates.

  • FactsR™

    Keeping records precise, relevant, and tightly aligned facts from clinical conversations.

    Read the docs
  • Async generation

    Create documents after an interaction by posting transcripts to the API.

    Read the docs
  • Standard templates

    Start fast with templates like SOAP, H&P, and Patient Summary, available in multiple languages and kept up to date.

    Read the docs
  • Custom templates

    Define your own templates, sections and styles to fit any specialty and workflow.

    Read the docs
  • One-to-many generation

    Produce several note types from the same encounter, such as SOAP and patient summary.

    Read the docs

Model explainability matters in healthcare

When a model’s reasoning carries clinical risk, you need to see how it reached its answer. Safety reviews, compliance audits, and clinician trust all depend on it.

Corti’s research team built the Generative Interpretability Method (GIM) for this. Across Gemma, LLaMA, and Qwen, GIM scores over 2x higher on faithfulness than prior interpretability methods. We use it to build AI infrastructure you can audit.

Bar chart of faithfulness scores: GIM from Corti scores 2.24 on GPT-2, 2.02 on Qwen-2.5, 3.54 on Gemma-2 and 2.54 on Llama-3.1, against 1.10, 0.80, 1.33 and 0.90 for existing methods

Clinical documentation generation tailored to every workflow

Generate accurate clinical notes

Turn transcripts, structured data, or past records into polished documentation automatically. Corti creates SOAP notes, discharge summaries, and follow-up letters in seconds, cutting manual work while ensuring accuracy, consistency, and compliance.

Illustration of a clinical note generated from a transcript

Real-time, ready-to-sign drafts

Generate full drafts seconds after the encounter ends. Clinicians simply review, edit, and sign, reducing hours of admin to minutes without disrupting workflow or accuracy.

Illustration of a ready-to-sign draft note

Flexible, custom templates

Select from our library of clinical templates or define your own with custom sections, terminology, and style. We provide modular and flexible infrastructure, enabling documentation tailored to your users’ specialties and standards.

Illustration of a custom documentation template with editable sections

Multiple outputs from one encounter

Produce different documents from the same interaction: a clinician note for the EHR, a patient summary, and a billing-ready report - all from the same source.

Illustration of several documents generated from one encounter

Multilingual documentation at scale

Generate medical documentation in English, Danish, Spanish, German, French, Swedish, and more. Corti is the trusted foundation for teams building clinician and patient-facing applications with precise multilingual documentation needs.

Illustration of documentation generated in several languages

"By combining Dedalus’ workflow expertise with Corti’s real-time reasoning engine, we’re delivering exactly what clinicians have been asking for - smarter tools that save time and improve care."

Jan Rusch

Director Integrated Technologies, Dedalus

What will you build?

Patient summaries

Generate patient-facing handouts in plain language, directly from the same interaction used to create the clinical note.

Clinical notes

Turn conversations into structured SOAP notes, discharge summaries, H&Ps, or ER reports with clean formatting and no manual typing.

Referral letters

Use specialty-specific templates to auto-generate referral notes, follow-ups, or nursing documentation in your format.

Multi-language output

Generate both a professional note and a patient summary - each in a different language from a single transcript or fact.

Built for healthcare. Trusted by developers.

Claim Free credits to start when you start building.