Download codex-rs/app-server-protocol/schema/json/v2/AccountUpdatedNotification.json from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 2.75 kB
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/schema/json/v2/AccountUpdatedNotification.json
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/app-server-protocol/schema/json/v2/AccountUpdatedNotification.json
-
curl -L -o AccountUpdatedNotification.json https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/schema/json/v2/AccountUpdatedNotification.json
2.75 kB
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "definitions": { | |
| "AuthMode": { | |
| "description": "Authentication mode for OpenAI-backed providers.", | |
| "oneOf": [ | |
| { | |
| "description": "OpenAI API key provided by the caller and stored by Codex.", | |
| "enum": [ | |
| "apikey" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "description": "ChatGPT OAuth managed by Codex (tokens persisted and refreshed by Codex).", | |
| "enum": [ | |
| "chatgpt" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "description": "[UNSTABLE] FOR OPENAI INTERNAL USE ONLY - DO NOT USE.\n\nChatGPT auth tokens are supplied by an external host app and are only stored in memory. Token refresh must be handled by the external host app.", | |
| "enum": [ | |
| "chatgptAuthTokens" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "description": "Backend auth supplied as request headers.", | |
| "enum": [ | |
| "headers" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "description": "Programmatic Codex auth backed by a registered Agent Identity.", | |
| "enum": [ | |
| "agentIdentity" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "description": "Programmatic Codex auth backed by a personal access token.", | |
| "enum": [ | |
| "personalAccessToken" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "description": "Amazon Bedrock bearer token managed by Codex.", | |
| "enum": [ | |
| "bedrockApiKey" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "description": "Amazon Bedrock AWS access keys managed by Codex.", | |
| "enum": [ | |
| "bedrockAccessKeys" | |
| ], | |
| "type": "string" | |
| } | |
| ] | |
| }, | |
| "PlanType": { | |
| "enum": [ | |
| "free", | |
| "go", | |
| "plus", | |
| "pro", | |
| "prolite", | |
| "team", | |
| "self_serve_business_prolite", | |
| "self_serve_business_usage_based", | |
| "business", | |
| "ent26", | |
| "enterprise_cbp_automation", | |
| "enterprise_cbp_usage_based", | |
| "enterprise", | |
| "edu", | |
| "edu_plus", | |
| "edu_pro", | |
| "unknown" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "properties": { | |
| "authMode": { | |
| "anyOf": [ | |
| { | |
| "$ref": "#/definitions/AuthMode" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "planType": { | |
| "anyOf": [ | |
| { | |
| "$ref": "#/definitions/PlanType" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "title": "AccountUpdatedNotification", | |
| "type": "object" | |
| } |