{ "$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" }