Skip to content

GetAccountRateLimitsParams

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Usage-read capabilities of the requesting client, never inferred from its experiment arm.

Source code in src/codexed/models/v2_protocol.py
class GetAccountRateLimitsParams(CodexBaseModel):
    """Usage-read capabilities of the requesting client, never inferred from its experiment arm."""

    exclude_reset_credit_details: bool | None = None
    """
    Skip the separate reset-credit detail lookup for background usage polls. The usage response still includes the available count; omitted/false preserves detailed reads.
    """
    supports_luna_reserve: bool | None = None
    """
    The client supports automatic Luna Reserve fallback. For eligible ChatGPT CLI users, allow the backend to record experiment exposure after ordinary usage is blocked.
    """

exclude_reset_credit_details class-attribute instance-attribute

exclude_reset_credit_details: bool | None = None

Skip the separate reset-credit detail lookup for background usage polls. The usage response still includes the available count; omitted/false preserves detailed reads.

supports_luna_reserve class-attribute instance-attribute

supports_luna_reserve: bool | None = None

The client supports automatic Luna Reserve fallback. For eligible ChatGPT CLI users, allow the backend to record experiment exposure after ordinary usage is blocked.

:fa-brands-github: Show source on GitHub