vetsgpt

Update a VetsGPT chat title

Renames a chat owned by the caller and turns off automatic title generation for it. View and contribute grants do not permit renaming. Returns 404 when the chat does not exist or the caller is not its owner.

patch/workspaces/{workspaceId}/vetsgpt/chats/{chatId}

Request

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

Request body

titlestring required

New title, 1 to 100 characters. A title set here is kept: VetsGPT stops generating titles for this chat.

Example request

{
  "title": "Bella - CKD and NSAIDs"
}

Response

The title was updated.

successboolean required

Always true on success; failures are returned as errors.

Example response

{
  "success": true
}

Changes

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