Skip to main content
The notes endpoints let you pull clinical notes out of Healos — one at a time, by session, as a filtered list, or as a bulk export. Every note carries its medical codes, and you can request the session transcript and patient context alongside it. All notes endpoints require the notes:read scope. Access is scoped to your organization: you see notes authored by members of your org.
patient_id is a BigInt serialized as a string — treat it as an opaque string, same as elsewhere in the API. See Making Requests.

List Notes

Lightweight, paginated list. Use it to discover note IDs; fetch full content with Get a Note or Export.
Every note includes model: the note quality that produced it (fast, balanced or detailed, the same choices as the model option when you generate a note). It is read-only. It is null for older notes that have no record of it, and for a basic fallback note that no model wrote.

Filters

Both GET /notes and GET /notes/export accept the same filters:

Get a Note

Returns the full note — content, problems, procedures, icd10_codes, cpt_codes — with the session transcript and patient context embedded by default.

Controlling embedded blocks

The note body and medical codes are always returned. Control the heavier embedded blocks with the include query param — a comma-separated list of transcript and patient. It defaults to both.
When excluded, transcript and patient are returned as null.

Notes by Session

Returns every note for a session, plus the session’s transcript/summary and the patient context, in one call. Returns 404 if the session isn’t owned by your organization.

Regenerate a Note

POST /sessions/{sessionId}/notes/regenerate rebuilds the session’s note from its transcript. It needs the notes:write scope, and only completed sessions can be regenerated (others return 409). The call returns 202 straight away; the new note is usually ready in under a minute.
To know when the new note is ready, register a NOTE_REGENERATED webhook, or poll Notes by Session.

Export Notes

GET /notes/export returns all notes matching the filters above (no pagination), with full content, codes, transcript, and patient context on each note. Pick the format with ?format=:
json and csv are capped at 1000 notes. When the result is capped, json sets meta.truncated: true and csv sets the X-Result-Truncated header. To pull more than 1000 notes, narrow the date range with from/to, or use format=ndjson, which streams the full set with no cap.
The CSV columns are: note_id, patient_id, patient_name, session_id, session_date, note_type, specialty, created_at, problems, procedures, icd10_codes, cpt_codes, content, transcript, model. Array and code fields are flattened into a single cell.

Generate a Note from Documents

POST /patients/{patientId}/notes/from-documents writes a clinical note from the patient’s uploaded documents alone, with no recording. It creates a new session for the patient and queues generation, so you get a session_id back straight away (202); the note is usually ready in under a minute. It needs the notes:write scope. Upload the documents first and wait for extraction to finish (see the document upload flow). At least one document must have status: "completed" with extracted text, otherwise the call returns 422 and no session is created.
To know when the note is ready, register a NOTE_CREATED webhook, or poll Notes by Session with the returned session_id.
Each call creates a new session and a new note. Don’t retry a request that already returned 202; check the session’s notes instead.

Generate a Note from Text

POST /notes/from-text writes a clinical note from text you send: typed visit notes, a dictation or a transcript from your own recorder. It creates a session, queues generation and returns its session_id straight away (202). It needs the notes:write scope and uses one of your organization’s Scribe sessions (402 when none are left).
Sending the same text again while the first request is still being processed returns 409.

Generate a Note from Audio

POST /notes/from-audio takes a recording of the visit as multipart/form-data, transcribes it and writes the clinical note, the same as uploading audio in the HealOS dashboard. It returns 202 with the session_id as soon as the file is stored; transcription and the note follow in the background (usually a few minutes for a 20-minute visit). It needs the notes:write scope and uses one Scribe session.
The response has the same shape as from text. Track progress with Session Details (status moves from finalizing to completed, or failed if the audio had no usable speech), or register a NOTE_CREATED webhook.
Each call creates a new session. Don’t retry a request that already returned 202; check the session instead.

Session Details

GET /sessions/{sessionId} returns a session’s metadata without the note content: the encounter date and times, duration, status, the template it was set up with, the clinician who owns it, a short patient summary and the ids of the notes generated for it. It needs the notes:read scope and returns 404 if the session isn’t owned by your organization.

Assign a Patient to a Session

PATCH /sessions/{sessionId} files a session and its notes under a patient. Use it for a session created without patient_id (from text or audio), or to correct a session’s patient. It needs the notes:write scope.
A NOTE_UPDATED webhook fires for each of the session’s notes. Sending the patient the session already has returns patient_changed: false. A session whose note was already sent to an EHR can’t move to another patient (409).