This commit is contained in:
2026-01-15 23:02:16 +08:00
commit 06f906abc7
20 changed files with 9269 additions and 0 deletions

40
team.json.example Normal file
View File

@@ -0,0 +1,40 @@
[
{
"_comment": "格式1 (旧格式): 通过 https://chatgpt.com/api/auth/session 获取授权信息",
"_comment2": "登录 ChatGPT Team 账号后访问此链接获取完整的 session 信息",
"user": {
"id": "user-xxxxxxxxxxxxxxxxxxxxxxxx",
"email": "your-email@example.com",
"idp": "auth0",
"iat": 0,
"mfa": false
},
"expires": "2026-01-01T00:00:00.000Z",
"account": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"planType": "team",
"structure": "workspace",
"workspaceType": null,
"organizationId": "org-xxxxxxxxxxxxxxxxxxxxxxxx",
"isDelinquent": false,
"gracePeriodId": null
},
"accessToken": "eyJhbGciOiJSUzI1NiIs...(your access token)",
"authProvider": "openai"
},
{
"_comment": "格式2 (新格式-有Token): 简化配置只需邮箱、密码和Token",
"_comment2": "适用于已有 accessToken 的情况",
"account": "team-owner@example.com",
"password": "YourPassword@2025",
"token": "eyJhbGciOiJSUzI1NiIs...(your access token)",
"authorized": false,
"account_id": ""
},
{
"_comment": "格式3 (新格式-无Token): 只需邮箱和密码程序会自动登录获取Token",
"_comment2": "适用于没有 accessToken 的情况,程序启动时会自动登录",
"account": "team-owner2@example.com",
"password": "YourPassword@2025"
}
]