Comparison with POST Context
Feature | POST (Seed) | PATCH (Update) |
---|---|---|
Purpose | Set entire context all at once when available | Incrementally build context as information becomes available |
Data Approach | Complete context payload | Partial context updates |
Timing | Before EndSession. When you have all context information together. | Before EndSession. As information becomes available progressively |
Behavior | Replaces entire context | Updates only specified fields |
Headers
sdp_suki_token
Path Parameters
ambient_session_id
Body
UpdateContextRequest
Request body for the /session/{ambient_session_id}/context PATCH endpoint
Optional - Information about the diagnoses
Optional - Information about the patient
Optional - Information about the provider
Optional - Information about the sections to be generated. If not provided, all supported sections (https://developer.suki.ai/ambient-api#note_sections) will be generated.
Response
Success Response
Response body for the /session/{ambient_session_id}/context PATCH endpoint
Updated context for the session