Skip to main content
A scribe session can produce one or more medical record documents — one per purpose (e.g. primary for the clinician-facing record, rpa for EMR injection). Each document is the filled output of the session templates.

Listing the documents

Use the same consultationInternalId you used with the scribe session endpoint:
curl https://scribe-api.telepatia.ai/v1/scribe-sessions/CONSULT-12345/medical-record-documents \
  -H "Authorization: Bearer YOUR_API_KEY"
Response:
{
  "items": [
    {
      "id": "mrd-abc-123",
      "purpose": "primary",
      "specialty": "Cardiology",
      "language": "en",
      "medicalRecordSummary": "Patient presents with chest pain.",
      "createdAt": "2026-02-20T10:30:00Z",
      "updatedAt": "2026-02-20T10:35:00Z",
      "medicalRecord": {
        "sections": []
      },
      "medicalRecordSummaryStructured": {
        "pastMedicalConditions": ["Hypertension"],
        "vitalSigns": {
          "bloodPressure": "120/80"
        }
      }
    }
  ],
  "total": 1
}
Wait until the session’s status is completed or completedWithErrors (see Session lifecycle) before fetching its documents — they are only produced after the AI pipeline finishes.

Filtering by purpose

Pass ?purpose=primary to get only the clinician-facing document. Other valid values include rpa (for EMR injection) and emr.
curl "https://scribe-api.telepatia.ai/v1/scribe-sessions/CONSULT-12345/medical-record-documents?purpose=primary" \
  -H "Authorization: Bearer YOUR_API_KEY"

Field reference

FieldTypeDescription
idstringDocument identifier
purposestringprimary, rpa, emr, … — identifies the record when a session produced several
specialtystring | nullMedical specialty associated with the record
languagestring | nullLanguage of the record content
medicalRecordSummarystring | nullPlain-text summary of the record
medicalRecordobject | nullOpaque { sections: [...] } payload — the filled templates’ output
medicalRecordSummaryStructuredobject | nullStructured summary: pastMedicalConditions, medication, recentLabsAndImaging, lastConsultation, vitalSigns, age, gender
createdAtstring (ISO 8601)When the document was created
updatedAtstring (ISO 8601)Last update timestamp