Get Current Identity
Read the identity and API key summary for the current Bearer token.
/api/open/v1/whoamiEndpoint Overview
Read the identity and API key summary for the current Bearer token.
Authentication
Authorization: Bearer <token>access:readResponse
固定为 open_api.identity。
当前 Bearer Token 对应的用户 ID。
Summary of the API key bound to the current Bearer token.
API Key ID。
API Key 名称。
所属环境。
当前 Key 具备的 scopes。
Common Errors
Missing or invalid Bearer token.
The current token hit a rate limit.
当前 API Key 不存在,或已被清理。
Notes
- Use this when the CLI starts to confirm who owns the token, which environment it belongs to, and which scopes are already granted.