Get the session document for the active user

Returns the session for the active user.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Response

The session document for the logged in user.
idstringOptional
The session token for the logged in user
loginMethodenumOptional
The way a user logged in
session_startintegerOptional
The Unix epoch time when the session started
ttlintegerOptional
The default ttl for a user session
principalIdstringOptional
The accountId for the logged in user
requestCountintegerOptional
The number of API requests made during the active session

Errors

500
Internal Server Error