Skip to content

RateLimitResetCreditsSummary

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  2884471343["v2_protocol.RateLimitResetCreditsSummary"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 2884471343
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class RateLimitResetCreditsSummary(CodexBaseModel):
    available_count: int
    credits: list[RateLimitResetCredit] | None = None
    """
    Detail rows for available reset credits, when the backend provides them.

    `null` means only `availableCount` is known, while an empty array means details were fetched and no available credits were returned. The backend may cap this list, so its length can be less than `availableCount`.
    """

credits class-attribute instance-attribute

credits: list[RateLimitResetCredit] | None = None

Detail rows for available reset credits, when the backend provides them.

null means only availableCount is known, while an empty array means details were fetched and no available credits were returned. The backend may cap this list, so its length can be less than availableCount.

:fa-brands-github: Show source on GitHub