ChatgptAuthTokensv2LoginAccountParams
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| CodexBaseModel codexed.models.base Base model for all Codex API models. |
⋔ Inheritance diagram¶
graph TD
848640428["v2_protocol.ChatgptAuthTokensv2LoginAccountParams"]
3116041069["base.CodexBaseModel"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
3116041069 --> 848640428
3879467795 --> 3116041069
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: CodexBaseModel
[UNSTABLE] FOR OPENAI INTERNAL USE ONLY - DO NOT USE. The access token must contain the same scopes that Codex-managed ChatGPT auth tokens have.
Source code in src/codexed/models/v2_protocol.py
access_token
instance-attribute
¶
Access token (JWT) supplied by the client. This token is used for backend API requests and email extraction.
chatgpt_account_id
instance-attribute
¶
Workspace/account identifier supplied by the client.
chatgpt_plan_type
class-attribute
instance-attribute
¶
Optional plan type supplied by the client.
When null, Codex attempts to derive the plan type from access-token claims. If unavailable, the plan defaults to unknown.