"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations from openrouter.types import BaseModel from typing_extensions import TypedDict class AppRankingsItemTypedDict(TypedDict): app_id: int r"""Stable numeric identifier of the app on OpenRouter.""" app_name: str r"""Public display name of the app.""" rank: int r"""1-based position of the app within this response, per the requested `sort`.""" total_requests: int r"""Number of requests attributed to the app inside the date window.""" total_tokens: str r"""Sum of `prompt_tokens + completion_tokens` attributed to the app inside the date window, returned as a decimal string so 64-bit values are not truncated.""" class AppRankingsItem(BaseModel): app_id: int r"""Stable numeric identifier of the app on OpenRouter.""" app_name: str r"""Public display name of the app.""" rank: int r"""1-based position of the app within this response, per the requested `sort`.""" total_requests: int r"""Number of requests attributed to the app inside the date window.""" total_tokens: str r"""Sum of `prompt_tokens + completion_tokens` attributed to the app inside the date window, returned as a decimal string so 64-bit values are not truncated."""