ProposalCardType
A change the copilot proposes, shown as a card for the user to approve.
type ProposalCardType {
batchId: String
createdAt: Float!
creditEstimateCents: Int
error: String
executionReport: JSON
id: ID!
kind: CopilotProposalKind!
payload: JSON!
rejectReason: String
status: CopilotProposalStatus!
supersededById: String
updatedAt: Float!
}
Fields
ProposalCardType.batchId ● String scalar
The ID of the batch the proposal was applied in.
ProposalCardType.createdAt ● Float! non-null scalar
When the card was made, in epoch milliseconds.
ProposalCardType.creditEstimateCents ● Int scalar
The estimated credit cost, in cents.
ProposalCardType.error ● String scalar
Why the last apply failed. Empty for a card that has not failed.
ProposalCardType.executionReport ● JSON scalar
A report of what applying it did.
ProposalCardType.id ● ID! non-null scalar
The unique ID of this record.
ProposalCardType.kind ● CopilotProposalKind! non-null enum
What the proposal does.
ProposalCardType.payload ● JSON! non-null scalar
The proposed change.
ProposalCardType.rejectReason ● String scalar
Why a person rejected the card.
ProposalCardType.status ● CopilotProposalStatus! non-null enum
Where the proposal stands.
ProposalCardType.supersededById ● String scalar
The ID of the card that replaced this one.
ProposalCardType.updatedAt ● Float! non-null scalar
When the card last changed, in epoch milliseconds.
Returned By
approveCopilotAskFromLink mutation ● approveCopilotProposal mutation ● rejectCopilotProposal mutation ● updateCopilotProposal mutation
Member Of
CopilotSession object