Skip to main content

CopilotMessage

One message in a copilot conversation.

type CopilotMessage {
cardIds: [String!]
createdAt: Float!
feedback: JSON
id: ID!
role: String!
text: String
toolCalls: JSON
usage: JSON
}

Fields​

CopilotMessage.cardIds ● [String!] list scalar​

The IDs of the proposal cards the message produced.

CopilotMessage.createdAt ● Float! non-null scalar​

When it was written, in epoch milliseconds.

CopilotMessage.feedback ● JSON scalar​

The feedback the user gave on the message.

CopilotMessage.id ● ID! non-null scalar​

The unique ID of this record.

CopilotMessage.role ● String! non-null scalar​

Who wrote it.

CopilotMessage.text ● String scalar​

The text of the message.

CopilotMessage.toolCalls ● JSON scalar​

The tools the turn used, so a reopened conversation still shows what it did.

CopilotMessage.usage ● JSON scalar​

What the turn cost: tokens, credits and the model used.

Member Of​

CopilotMessagePage object ● CopilotSession object