Set VetsGPT patient context
Owner only: attaches one patient to the chat as context, replacing any previous patient. For new questions VetsGPT uses the patient's details, up to five recent clinical notes and up to five analysed patient files, but only while no consultations are attached (attached consultations bring their own patient). Existing questions retain their captured context on retry. Returns 404 when the chat does not exist or the caller is not its owner.
Request
- Base URLhttps://vetnio.com/api/v2
- URLhttps://vetnio.com/api/v2/workspaces/{workspaceId}/vetsgpt/chats/{chatId}/attachments/patient
- AuthHTTP bearer
Path parameters
Identifier of the workspace (clinic). The caller must be a member, and VetsGPT must be enabled for them in this workspace.
Identifier of a VetsGPT chat owned by or explicitly shared with the caller. Unshared chats behave as if they did not exist.
Request body
Example request
{
"patientId": "f2a3b4c5-d6e7-4890-fabc-012345678901"
}Response
The patient context was attached.
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.