Chats
Create conversations, send messages, and consume streaming clinical responses.
List chats
List chats available to the authenticated organization and user scope.
Create a chat
Create a chat for the user identified by `X-Doctronic-User-ID` within the organization identified by the Bearer token.
Get a chat
Fetch a single chat by id.
List chat messages
List the user and assistant messages in a chat.
Stream a chat turn (SSE)
Send a user message to an existing chat and stream the assistant's reply as Server-Sent Events.
Update organization-scoped user details PATCH
Update the active user identified by `X-Doctronic-User-ID` within the authenticated organization's realm. Only supplied fields change; omitted fields are preserved and explicit null clears a field. Empty/blank names or phone numbers are rejected. Email/phone conflicts never merge or transfer accounts. Organization servers must authenticate their member and derive this user ID server-side.
List chats GET
List chats available to the authenticated organization and user scope.