chats

Update Chat

Updates the metadata of an existing chat using its chatId. Supports changes to the chat name and privacy setting.

patch/chats/{chatId}

Path parameters

chatIdstring required

The unique identifier of the chat to update. Provided as a path parameter.

Request body

namestring

A new name to assign to the chat. Helps with identification and organization.

privacy'public' | 'private' | 'team' | 'team-edit' | 'unlisted'

Sets the privacy level of the chat.

Response

Success

idstring required

A unique identifier for the chat.

object'chat' required

Fixed value identifying this object as a chat.

shareableboolean required

Indicates whether the chat can be shared via public link.

privacy'public' | 'private' | 'team' | 'team-edit' | 'unlisted' required

Defines the visibility of the chat—private, team-only, or public.

namestring

An optional name assigned to the chat by the user.

titlestring

Deprecated title field preserved for backward compatibility.

createdAtstring date-time required

The ISO timestamp representing when the chat was created.

updatedAtstring

The ISO timestamp of the last update to the chat.

favoriteboolean required

Indicates whether the chat is marked as a favorite.

authorIdstring required

The ID of the user who created the chat.

projectIdstring

Optional ID of the v0 project associated with this chat.

webUrlstring required

Web URL to view this chat in the browser.

apiUrlstring required

API URL to access this chat via the API.

urlstring required

The canonical URL to access this chat.

demostring

Deprecated demo URL used for previewing the chat result.

textstring required

The main user prompt or instruction that started the chat.

Changes