33 lines
1,007 B
JSON
33 lines
1,007 B
JSON
|
|
{
|
||
|
|
"$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 ID token did not include a workspace identifier (`chatgpt_account_id`) or when the token could not be parsed.",
|
||
|
|
"type": [
|
||
|
|
"string",
|
||
|
|
"null"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"reason": {
|
||
|
|
"$ref": "#/definitions/ChatgptAuthTokensRefreshReason"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"reason"
|
||
|
|
],
|
||
|
|
"title": "ChatgptAuthTokensRefreshParams",
|
||
|
|
"type": "object"
|
||
|
|
}
|