Download codex-rs/app-server-protocol/schema/json/ChatgptAuthTokensRefreshParams.json from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 971 Bytes
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/schema/json/ChatgptAuthTokensRefreshParams.json
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/app-server-protocol/schema/json/ChatgptAuthTokensRefreshParams.json
-
curl -L -o ChatgptAuthTokensRefreshParams.json https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/schema/json/ChatgptAuthTokensRefreshParams.json
971 Bytes
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "definitions": { | |
| "ChatgptAuthTokensRefreshReason": { | |
| "oneOf": [ | |
| { | |
| "description": "Codex attempted a backend request and received `401 Unauthorized`.", | |
| "enum": [ | |
| "unauthorized" | |
| ], | |
| "type": "string" | |
| } | |
| ] | |
| } | |
| }, | |
| "properties": { | |
| "previousAccountId": { | |
| "description": "Workspace/account identifier that Codex was previously using.\n\nClients that manage multiple accounts/workspaces can use this as a hint to refresh the token for the correct workspace.\n\nThis may be `null` when the prior auth state did not include a workspace identifier (`chatgpt_account_id`).", | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "reason": { | |
| "$ref": "#/definitions/ChatgptAuthTokensRefreshReason" | |
| } | |
| }, | |
| "required": [ | |
| "reason" | |
| ], | |
| "title": "ChatgptAuthTokensRefreshParams", | |
| "type": "object" | |
| } |