Interface: ProviderUsageData
Defined in: types/usage.ts:18
Provider-agnostic usage data.
Returned by the optional parseUsage() method on providers that
declare supportsUsage: true.
Properties
lastUpdated
lastUpdated:
string
Defined in: types/usage.ts:23
ISO date string for when the data was last fetched
metrics
metrics:
UsageMetric[]
Defined in: types/usage.ts:20
Named usage metrics (e.g., "Session", "Weekly", "Sonnet Weekly")
userTimezone?
optionaluserTimezone:string
Defined in: types/usage.ts:26
User's timezone identifier (e.g., 'America/New_York')