SDK
Use the SDK’s authenticated request method:Generate a 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, sendtemplateId:
template:
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.