vetsgpt

Get VetsGPT chat attachments

Returns the consultations and patient attached to an owned or explicitly shared chat as context. Despite the path, uploaded files are not listed here. Sharing does not grant access to the underlying clinical resources. Returns 404 when the chat does not exist or the caller lacks access.

get/workspaces/{workspaceId}/vetsgpt/chats/{chatId}/attachments

Request

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

Example response

{
  "consultations": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "name": "Bella - vaccination"
    }
  ],
  "patient": {
    "id": "f2a3b4c5-d6e7-4890-fabc-012345678901",
    "name": "Bella",
    "species": "Dog",
    "identifier": "752098100012345"
  }
}

Changes

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