Skip to main content
Note generation turns a transcript into a clinical note in one synchronous request. It supports a Sully-managed template, an inline template, and structured clinical context. Use this API when the caller can wait for generation to complete and wants the note in the create response.

SDK

Use the SDK’s authenticated request method:

Generate a note

A successful response contains the finished note:
usage is diagnostic and may be omitted. requestId is also returned in the x-request-id response header; retain it for support.

Choose a template

Omit both template fields to use the default configured experience. To use a Sully-managed template, send templateId:
To define the structure in the request, send an inline template:
Do not send templateId and template together.

Request fields

The total text in the inline template and clinical context may not exceed 100,000 characters. Unknown fields are rejected so request mistakes fail visibly.

Errors and retries

Errors use a stable code and request ID:
Each POST is a new generation request. If the client disconnects after the request has completed on the server, the response can be lost and a retry can create another billable generation. Use the returned requestId to investigate ambiguous outcomes.