GetAccountRateLimitsResponse
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| CodexBaseModel codexed.models.base Base model for all Codex API models. |
⋔ Inheritance diagram¶
graph TD
3041961402["v2_protocol.GetAccountRateLimitsResponse"]
3116041069["base.CodexBaseModel"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
3116041069 --> 3041961402
3879467795 --> 3116041069
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
account_id
class-attribute
instance-attribute
¶
Account associated with this usage snapshot, when supplied by the backend.
ordinary_usage_allowed
class-attribute
instance-attribute
¶
Backend permission for ordinary included usage, validated against the active account. Null means unavailable; clients must not infer recovery from percentages or reset times.
rate_limit_upsell
class-attribute
instance-attribute
¶
Optional backend-owned banner from the same usage read. Its nested keys retain the backend's snake_case contract; an absent banner leaves the client's existing UI unchanged.
rate_limits
instance-attribute
¶
rate_limits: RateLimitSnapshot
Backward-compatible single-bucket view; mirrors the historical payload.
rate_limits_by_limit_id
class-attribute
instance-attribute
¶
Multi-bucket view keyed by metered limit_id (for example, codex).