auth.v1.AuthService
Me
Return the caller's current auth context.
Request
curl --request POST \ \
--url 'https://api.testnet.polyester.com/auth.v1.AuthService/Me' \
--header 'Content-Type: application/json' \
--header 'Connect-Protocol-Version: 1' \
--data '{}'Responses
{
"accountId": "7563897446546",
"apiKeyId": "ak_1a3c6de8153d5a5b04cd2a6529779542",
"rootSmartAccountAddress": "0x2222222222222222222222222222222222222222",
"session": {
"authTime": "2025-01-01T00:00:00Z",
"authenticationMethods": [
"totp"
],
"sessionId": "session_01J0EXAMPLE",
"sessionLevel": "PRIMARY_AUTHENTICATED"
},
"username": "trader_alpha"
}auth.v1.MeRequestauth.v1.MeResponseRoot account identifier (opaque ID).
Stable public identifier of the API key that authenticated this request, formatted as "ak_" followed by 32 lowercase hexadecimal characters. Absent when the request was not authenticated with an API key.
Optional current username for the root account (empty if not set).
Root smart-account EVM address, formatted as 0x plus 40 hex characters. Empty if not set.
Stable session identifier shared by the primary and MFA-elevated tokens.
Assurance level represented by this session response.
Authentication methods used for this session state, such as wallet, TOTP, passkey, or recovery code. Maximum 8 unique values.
Time when the session was authenticated or elevated.
| Key | HTTP status | Connect code | Error | When |
|---|---|---|---|---|
| unauthenticated | 401 | unauthenticated | Unauthenticated | Authentication required. |
| permission-denied | 403 | permission_denied | Permission Denied | Permission denied. |
| invalid-argument | 400 | invalid_argument | Invalid Argument | Invalid argument. |
| not-found | 404 | not_found | Not Found | Not found. |
| unavailable | 503 | unavailable | Unavailable | Service unavailable. |