AiCreditUsageSummary
Totals over a period for the wallet page's figures and chart, worked out over the whole period.
type AiCreditUsageSummary {
callCount: Int!
daily: [AiCreditDailySpend!]!
topFeature: String
topFeatureCreditsUsed: String
totalCreditsUsed: String!
windowDays: Int!
}
Fields
AiCreditUsageSummary.callCount ● Int! non-null scalar
Number of metered calls in the window.
AiCreditUsageSummary.daily ● [AiCreditDailySpend!]! non-null object
Per-day spend across the window, oldest first, zero-filled.
AiCreditUsageSummary.topFeature ● String scalar
Feature that spent the most in the window; null if no usage.
AiCreditUsageSummary.topFeatureCreditsUsed ● String scalar
Credits the top feature used, in cents (4dp string).
AiCreditUsageSummary.totalCreditsUsed ● String! non-null scalar
Total credits charged in the window, in cents (4dp string).
AiCreditUsageSummary.windowDays ● Int! non-null scalar
Days covered by this window.
Returned By
aiCreditUsageSummary query