CopilotSession
A copilot conversation.
type CopilotSession {
activeRunId: String
createdAt: Float!
hasIr: Boolean!
id: ID!
irSummary: JSON
messages: [CopilotMessage!]!
pinnedAt: Float
proposals: [ProposalCardType!]!
runActive: Boolean
scratchpad: JSON
status: String!
title: String
updatedAt: Float!
}
Fields
CopilotSession.activeRunId ● String scalar
The ID of the run still writing the end of the conversation, so a client can replay its events.
CopilotSession.createdAt ● Float! non-null scalar
When it started, in epoch milliseconds.
CopilotSession.hasIr ● Boolean! non-null scalar
True when the conversation holds a parsed file.
CopilotSession.id ● ID! non-null scalar
The unique ID of this record.
CopilotSession.irSummary ● JSON scalar
A summary of the parsed file.
CopilotSession.messages ● [CopilotMessage!]! non-null object
The messages.
CopilotSession.pinnedAt ● Float scalar
When the owner pinned this chat (epoch ms); null = not pinned.
CopilotSession.proposals ● [ProposalCardType!]! non-null object
The proposal cards.
CopilotSession.runActive ● Boolean scalar
True while a turn is being generated for this conversation, so a client knows to reattach.
CopilotSession.scratchpad ● JSON scalar
Working state of the conversation, for the same user and organization.
CopilotSession.status ● String! non-null scalar
The status of the conversation.
CopilotSession.title ● String scalar
The title of the conversation.
CopilotSession.updatedAt ● Float! non-null scalar
When it last changed, in epoch milliseconds.
Returned By
archiveCopilotSession mutation ● copilotSession query ● createCopilotSession mutation