Skip to content

ConsumeAccountRateLimitResetCreditParams

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class ConsumeAccountRateLimitResetCreditParams(CodexBaseModel):
    credit_id: str | None = None
    """
    Opaque reset-credit identifier to redeem. When omitted, the backend selects the next available credit.
    """
    idempotency_key: str
    """
    Identifies one logical reset attempt. A UUID is recommended; reuse the same value when retrying that attempt.
    """

credit_id class-attribute instance-attribute

credit_id: str | None = None

Opaque reset-credit identifier to redeem. When omitted, the backend selects the next available credit.

idempotency_key instance-attribute

idempotency_key: str

Identifies one logical reset attempt. A UUID is recommended; reuse the same value when retrying that attempt.

:fa-brands-github: Show source on GitHub