# tinker.types.BillingUsageResponse ## *class* [**tinker.types.BillingUsageResponse**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/billing_usage_response.py#L129)(*[BaseModel](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/_models.py#L88)*) **Fields:** - [**data**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/billing_usage_response.py#L130) (*[list](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/cli/commands/run.py#L221)\[[BillingUsageEvent](https://tinker-docs.thinkingmachines.ai/tinker/api-reference/types/billingusageevent/index.md)\]*) – Hourly usage events, ordered by bucket then descending token count - [**sessions**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/billing_usage_response.py#L133) (*dict\[str, [BillingUsageSession](https://tinker-docs.thinkingmachines.ai/tinker/api-reference/types/billingusagesession/index.md)\]*) – session_id -> that session's attributes, for every distinct session appearing in `data` ## Referenced by - [RestClient.get_billing_usage](https://tinker-docs.thinkingmachines.ai/tinker/api-reference/restclient/#get_billing_usage)