Files
openrouter-python-sdk-retry…/src/openrouter/components/apprankingsitem.py
T
github-actions[bot]GitHubspeakeasybotspeakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
0f116c9792 chore: 🐝 Update SDK - Generate 0.9.2 (#205)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
2026-06-11 12:10:31 -04:00

36 lines
1.3 KiB
Python

"""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."""