Conversation Object


A conversation represents a chat thread between a user and the Wix AI coding agent about a project. A project can have multiple conversations. A conversation holds the thread's details, such as its status and title. To retrieve its messages, call 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 that the 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.

Ignored when creating a conversation.


sessionIdstringformat GUID

ID of the coding agent session for this conversation.

Set automatically when the coding agent starts building the project, and used to resume the same session in later messages.


statusstring

Conversation status.


titlestringmaxLength 200

Conversation title.

Currently set to new chat for every conversation.


updatedDatestringRead-onlyformat date-time

Date and time the conversation was last updated.

Did this help?