Skip to main content
Alongside the audio (or transcript) you can pass metadata that controls how the note is generated. This applies to every note-producing endpoint: /api/v1/notes and /api/v1/sessions/:id/notes.

Parameters

Inline template structure

templateSections is a JSON array describing the sections. Each section has a name and AI rules controlling whether it is auto-filled. Pass it as a string:
The returned note.sections array mirrors your structure, each entry carrying the generated content for that section, plus a combined field with the full note rendered as text.

When no template is given

If you omit template and templateSections, the note is generated with the default SOAP structure (reason for visit, subjective, objective, assessment, plan, diagnoses).

JSON body alternative

When sending a transcript (no audio), pass the same fields as JSON: