/** * One usage rollup row. `key` is ``"total"`` for the summary, an ISO date * (``YYYY-MM-DD``, UTC) for ``group_by=day``, or a public model id for * ``group_by=model``. */ export interface UsageBucket { /** What this bucket rolls up: `"total"`, an ISO date (`YYYY-MM-DD`, UTC), or a public model id — per `group_by`. */ key: string; /** Jobs submitted in this bucket, chat completions included. */ jobs: number; /** Net amount spent in this bucket. */ spent: number; }