Skip to main content
Version: Beta

AssistantConversation

description

Represents a conversation session with a unique ID and associated metadata.

type AssistantConversation {
id: String!
name: String!
title: String
nameLong(
maxFilterLabels: Int
): String
export(
input: AssistantConversationExportInput!
): AssistantConversationExport!
createdAt: DateTime!
updatedAt: DateTime
references: [AssistantConversationRef!]
artifacts: [AssistantAnswerArtifact!]
messages(
first: Int
after: String
last: Int
before: String
fromNodeId: String
): AssistantConversationMessagesConnection!
}

Fields

AssistantConversation.id ● String! non-null scalar graph-ql-types

@exposed

AssistantConversation.name ● String! non-null scalar graph-ql-types

The original user input that started the conversation, such as the question or query. @exposed

AssistantConversation.title ● String scalar graph-ql-types

An LLM-generated descriptive, human-readable title used as the conversation or thread title. @exposed

AssistantConversation.nameLong ● String scalar graph-ql-types

The original user input that started the conversation, such as the question or query. @exposed

AssistantConversation.nameLong.maxFilterLabels ● Int scalar graph-ql-types

AssistantConversation.export ● AssistantConversationExport! non-null object graph-ql-types

Export the conversation message with the given message id as markdown or html.

A export elements is included, containing the header, footer, and cover page, margin. @exposed

AssistantConversation.export.input ● AssistantConversationExportInput! non-null input graph-ql-types

AssistantConversation.createdAt ● DateTime! non-null scalar graph-ql-types

@exposed

AssistantConversation.updatedAt ● DateTime scalar graph-ql-types

@exposed

AssistantConversation.references ● [AssistantConversationRef!] list object graph-ql-types

Reference metadata linking this conversation to workspaces, agents @exposed

AssistantConversation.artifacts ● [AssistantAnswerArtifact!] list object graph-ql-types

All artifacts in the conversation. @exposed

AssistantConversation.messages ● AssistantConversationMessagesConnection! non-null object graph-ql-types

List of messages in the conversation, with pagination.

GraphQL Cursor Connections Specification @exposed

AssistantConversation.messages.first ● Int scalar graph-ql-types
AssistantConversation.messages.after ● String scalar graph-ql-types
AssistantConversation.messages.last ● Int scalar graph-ql-types
AssistantConversation.messages.before ● String scalar graph-ql-types
AssistantConversation.messages.fromNodeId ● String scalar graph-ql-types

Start the pagination from the edge with node that has the given id.

Member Of

AssistantDeltaConversationCreate object

Implemented By

AssistantConversationMessageArtifact union