Skip to content

claude-code-driver / UsageInfo

Interface: UsageInfo ​

Defined in: api/public-types.ts:242

Properties ​

PropertyModifierTypeDescriptionDefined in
credits?readonly"off" | "on"-api/public-types.ts:248
metersreadonlyreadonly UsageMeter[]-api/public-types.ts:243
partial?readonlytruetrue when Claude was still refreshing the dialog after retries: some meters may be missing or stale.api/public-types.ts:250
readAtreadonlynumberEpoch ms when the dialog was read.api/public-types.ts:252
session?readonlyUsageMeterConvenience: the session meter, if shown.api/public-types.ts:245
week?readonlyUsageMeterConvenience: the "all models" weekly meter (or the first weekly meter).api/public-types.ts:247

Released under the MIT License. Not affiliated with Anthropic.