vetsgpt

Remove VetsGPT patient context

Owner only: detaches the patient from the chat's context for new questions. Attached consultations are not affected, and existing questions retain their captured context on retry. Succeeds when no patient was attached. Returns 404 when the chat does not exist or the caller is not its owner.

delete/workspaces/{workspaceId}/vetsgpt/chats/{chatId}/attachments/patient

Request

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

successboolean required

Always true on success; failures are returned as errors.

Example response

{
  "success": true
}

Changes