vetsgpt

List VetsGPT chats

Lists owned and explicitly shared VetsGPT chats in this workspace, newest first by conversation activity, with stable chat-id ordering for ties. Not paginated; every chat is returned. Each chat's searchable_content is included only when searchQuery is given and the actor may access that search projection.

get/workspaces/{workspaceId}/vetsgpt/chats

Request

  • Base URL
    https://vetnio.com/api/v2
  • URL
    https://vetnio.com/api/v2/workspaces/{workspaceId}/vetsgpt/chats
  • Auth
    HTTP 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

Query parameters

searchQuerystring

Optional case-insensitive substring to match against chat titles and message text. Leading and trailing whitespace is ignored; an empty value lists every chat. % and _ act as wildcards.

Example:meloxicam

Response

A list of VetsGPT chat summaries.

chat_idstring

Chat id. Use it as chatId in the other VetsGPT endpoints.

titlestring

Chat title as shown in the VetsGPT sidebar.

created_atstring

When the chat was created (ISO-8601 UTC).

last_updated_atstring

When the chat last changed (ISO-8601 UTC).

searchable_contentstring

Plain-text log of the chat's message text (questions, extracted file text and most answers) that searchQuery is matched against. Only returned when searchQuery is given. Not intended for display; it grows with the chat and can be large.

Example response

[
  {
    "chat_id": "3f9c2a71-5b8e-4d1a-9c47-0e6b2d8f1a53",
    "title": "NSAID dosing in a dog with CKD",
    "created_at": "2026-10-04T09:12:31.000Z",
    "last_updated_at": "2026-10-04T09:12:58.000Z"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.