tinker.types.BillingUsageResponse
Generated from tinker 0.34.0 at commit 64eef5e. Source links point at that snapshot.
class tinker.types.BillingUsageResponse(BaseModel)
Fields:
- data (list[BillingUsageEvent]) – Hourly usage events, ordered by bucket then descending token count
- sessions (dict[str, BillingUsageSession]) – session_id -> that session's attributes, for every distinct session
appearing in
data - cost_data_through (datetime | None) – Exclusive UTC boundary between the two pricing sources used for estimated costs. Non-null estimates before it use invoice-derived effective rates, while newer non-null estimates use fixed published rates. A cost or rate may still be None when the data required to price that row is unavailable. None means the response contains no completed day with invoice pricing data.