Message

FieldTypeDescription
idID!
conversationIdID!
parentIdID
seqInt!
roleString!
createdByID
senderTypeString!Sender kind: user, webhook, service_account, integration, agent or system.
senderIdIDIdentifier of the sender: the participant or agent for an agent message, otherwise the author.
senderDisplayNameString
partsJSON!
modelString
runUsageMessageRunUsageToken usage and cost of the whole run that produced an assistant message, or null when none is recorded.
tokenUsageJSON
finishReasonString
costCreditsString
statusString!
editedAtString
idempotencyKeyString
metadataJSON
createdAtString!
updatedAtString

All GraphQL types · Operations