Authorization 头中与会话令牌绑定的账户档案。可在登录后用于初始化控制台 UI,或验证令牌是否仍然有效。
方法: GET 路径: /api/auth/me 认证: 会话 Bearer
响应
string
稳定的用户标识。
string
邮箱地址(若已设置)。
string
手机号(若已设置)。
string
显示名称。
string
头像 URL。
boolean
是否启用了 2FA。
string
ISO 8601 时间戳。
string
ISO 8601 时间戳。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
返回与会话令牌绑定的账户档案,包含 2FA 状态与账户创建日期。需要会话 Bearer 令牌。
Authorization 头中与会话令牌绑定的账户档案。可在登录后用于初始化控制台 UI,或验证令牌是否仍然有效。
方法: GET 路径: /api/auth/me 认证: 会话 Bearer
curl -H "Authorization: Bearer eyJhbGciOi..." \
https://ariacompute.cn/api/auth/me
{
"id": "usr_01H...",
"email": "[email protected]",
"name": "Jane",
"two_factor_enabled": true,
"created_at": "2026-01-14T09:30:00Z",
"updated_at": "2026-09-20T15:12:00Z"
}
| 状态 | 含义 |
|---|---|
401 | 缺失或无效的会话令牌。 |
Was this page helpful?