Set VetsGPT consultation context
Owner only: replaces the consultations attached as context for new questions. VetsGPT reads each consultation's name, date, transcript, clinical note, client communication and linked patient, re-checking read access on every message. Existing questions retain their captured context on retry. Returns 404 when the chat does not exist or the caller is not its owner. More than 50 consultations currently returns 500.
Request
- Base URLhttps://vetnio.com/api/v2
- URLhttps://vetnio.com/api/v2/workspaces/{workspaceId}/vetsgpt/chats/{chatId}/attachments/consultations
- 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
{
"consultationIds": [
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"b2c3d4e5-f6a7-8901-bcde-f12345678901"
]
}Response
The consultation context was updated.
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.