ChatConversation
No description
type ChatConversation implements Node {
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.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
Member Of
ChatConversationEdge object ● ChatMessage object