Conversation Object


A conversation represents a chat thread between a user and the Wix AI coding agent for a project. A project can have multiple conversations. Each conversation holds thread metadata such as status and title; the messages are returned via Query Messages.

Properties
createdDatestringRead-onlyformat date-time

Date and time the conversation was created.


idstringRead-onlyformat GUID

Conversation ID.


projectIdstringformat GUID

ID of the project this conversation belongs to.


revisionstringRead-onlyformat int64

Revision number, which increments by 1 each time the conversation is updated. To prevent conflicting changes, the current revision must be passed when updating the conversation.


sessionIdstringformat GUID

Agent session ID. Set when a build job begins; used to resume the coding agent session.


statusstring

titlestringmaxLength 200

Conversation title. Currently defaults to new chat.


updatedDatestringRead-onlyformat date-time

Date and time the conversation was last updated.

Did this help?