RouteScope 自助
查询我的账户信息
🔑 需要令牌认证(TokenAuth)
返回当前令牌所属用户的基础账户信息,包含用户名、邮箱、分组、配额与累计请求数等。
curl -X GET "https://webapi.routescope.ai/api/token/self/"{
"success": true,
"message": "",
"data": {
"id": 123,
"username": "alice",
"display_name": "Alice",
"role": 1,
"status": 1,
"email": "alice@example.com",
"group": "default",
"quota": 1,
"used_quota": 0.24,
"request_count": 18
}
}Authorization
BearerAuth
AuthorizationBearer <token>
使用 Bearer Token 认证。
格式: Authorization: Bearer sk-xxxxxx
In: header
Response Body
application/json
最后更新于