Skip to main content
POST
Generate Patient Summary

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json

Request schema for generating patient summary.

context
PatientSummaryContext · object
required

Patient context from frontend

modelName
string
default:gemini-2.5-flash-lite

Model to use for generation

useStructuredOutput
boolean
default:true

Whether to request structured JSON output

conversationHistory
ConversationMessage · object[] | null

Previous conversation messages for context

files
FileAttachment · object[] | null

File attachments for the current request

Response

Successful Response