AIUsageRecord
description
AI usage record containing details about a single AI interaction. Tracks usage metrics including credits consumed, mode, platform, and user information.
type AIUsageRecord {
messageId: String!
eventId: String!
eventTimestamp: DateTime!
triggeredAt: DateTime!
contactEmail: String!
userId: Int!
companyId: Int!
accountName: String!
mode: String!
platform: String!
credits: Int!
}
Fields
AIUsageRecord.messageId ● String! non-null scalar graph-ql-types
Unique identifier for the message/request @exposed
AIUsageRecord.eventId ● String! non-null scalar graph-ql-types
Event ID for tracing and correlation @exposed
AIUsageRecord.eventTimestamp ● DateTime! non-null scalar graph-ql-types
Event timestamp for tracing @exposed
AIUsageRecord.triggeredAt ● DateTime! non-null scalar graph-ql-types
Timestamp when the AI usage was triggered @exposed
AIUsageRecord.contactEmail ● String! non-null scalar graph-ql-types
Contact email of the user @exposed
AIUsageRecord.userId ● Int! non-null scalar graph-ql-types
User ID from AlphaSense system @exposed
AIUsageRecord.companyId ● Int! non-null scalar graph-ql-types
Company ID from AlphaSense system @exposed
AIUsageRecord.accountName ● String! non-null scalar graph-ql-types
Account name associated with the company @exposed
AIUsageRecord.mode ● String! non-null scalar graph-ql-types
Mode of AI usage (e.g., 'GenSearch', 'ThinkLonger', 'DeepResearch') @exposed
AIUsageRecord.platform ● String! non-null scalar graph-ql-types
Platform where usage occurred (e.g., 'webapp', 'api') @exposed
AIUsageRecord.credits ● Int! non-null scalar graph-ql-types
Number of credits consumed @exposed
Member Of
AIUsageConnection object ● AIUsageEdge object