vetsgpt
Get VetsGPT chat messages
Returns the stored messages of an owned or explicitly shared chat, oldest first. Hidden internal messages (extracted file text and answers still being generated) are left out. Attachments are returned inline as base64 data URIs, which can make the response large. Returns 404 when the chat does not exist or the caller lacks access.
get/workspaces/{workspaceId}/vetsgpt/chats/{chatId}/messages
Request
- Base URLhttps://vetnio.com/api/v2
- URLhttps://vetnio.com/api/v2/workspaces/{workspaceId}/vetsgpt/chats/{chatId}/messages
- AuthHTTP bearer
Path parameters
workspaceIdstring required
Identifier of the workspace (clinic). The caller must be a member, and VetsGPT must be enabled for them in this workspace.
Example:furunculotic-loud-chihuahua
chatIdstring required
Identifier of a VetsGPT chat owned by or explicitly shared with the caller. Unshared chats behave as if they did not exist.
Example:3f9c2a71-5b8e-4d1a-9c47-0e6b2d8f1a53
Response
The persisted chat messages.
Example response
[
{
"message_id": "rest-assistant-message-9d2e7c1b4a6f8e0d3c5b7a9f1e2d4c6b",
"timestamp": "2026-10-04T09:12:58.000Z",
"type": "bot_message",
"content": {
"text": "What is the meloxicam dose for a 24 kg dog?",
"attachments": [
"data:application/pdf;name=bloodwork.pdf;base64,JVBERi0xLjcK..."
]
},
"feedback": "positive",
"copilotProposals": [
{
"proposalId": "cp_7f3a9c21",
"tool": "edit_clinical_note",
"target": "clinical_note",
"summary": "Add the meloxicam dose to the treatment plan",
"source": "consultation",
"mode": "manual",
"baseHash": "9b1e4c7a",
"status": "accepted"
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.