ChatConversation
No description
type ChatConversation implements Node {
assistantModel: AssistantModel
visibility: ChatConversationVisibility!
viewerIsCreator: Boolean!
viewerCanWrite: Boolean!
id: ID!
deletedAt: Time
ownerID: String!
title: String!
model: String!
summary: String
summarizedMsgCount: Int
createdAt: Time!
updatedAt: Time!
messages(
after: Cursor
first: Int
before: Cursor
last: Int
orderBy: [ChatMessageOrder!]
where: ChatMessageWhereInput
): ChatMessageConnection!
}
Fields
ChatConversation.assistantModel ● AssistantModel object
The model the user picked for this conversation; null when it follows the organization default.
ChatConversation.visibility ● ChatConversationVisibility! non-null enum
Who can open this conversation. Computed; never misreports a grandfathered row as private.
ChatConversation.viewerIsCreator ● Boolean! non-null scalar
True when the caller started this conversation, and so may share or unshare it.
ChatConversation.viewerCanWrite ● Boolean! non-null scalar
True when the caller may continue, approve in, rename or delete this conversation: its creator, or anyone in the org for a grandfathered one. A member reading a conversation somebody else SHARED reads it; they do not get to write into it or approve a card in it.
ChatConversation.id ● ID! non-null scalar
ChatConversation.deletedAt ● Time scalar
Soft-delete timestamp. If set, record is considered deleted.
ChatConversation.ownerID ● String! non-null scalar
Organization alias that owns this conversation
ChatConversation.title ● String! non-null scalar
Conversation title, auto-generated from first user message
ChatConversation.model ● String! non-null scalar
OpenRouter model id used for this conversation; defaults to the platform default model at creation time
ChatConversation.summary ● String scalar
Rolling summary of oldest messages folded out of the verbatim window
ChatConversation.summarizedMsgCount ● Int scalar
Count of oldest ChatMessages already folded into summary
ChatConversation.createdAt ● Time! non-null scalar
ChatConversation.updatedAt ● Time! non-null scalar
ChatConversation.messages ● ChatMessageConnection! non-null object
ChatConversation.messages.after ● Cursor scalar
Returns the elements in the list that come after the specified cursor.
ChatConversation.messages.first ● Int scalar
Returns the first _n_ elements from the list.
ChatConversation.messages.before ● Cursor scalar
Returns the elements in the list that come before the specified cursor.
ChatConversation.messages.last ● Int scalar
Returns the last _n_ elements from the list.
ChatConversation.messages.orderBy ● [ChatMessageOrder!] list input
Ordering options for ChatMessages returned from the connection.
ChatConversation.messages.where ● ChatMessageWhereInput input
Filtering options for ChatMessages returned from the connection.
Interfaces
Node interface
An object with an ID. Follows the Relay Global Object Identification Specification
Returned By
renameChatConversation mutation ● setChatConversationModel mutation ● setChatConversationShared mutation
Member Of
ChatConversationEdge object ● ChatMessage object