UserSessionObject
An active sign-in session for the viewer, backing a single issued auth token. Used to show a user where their account is signed in and to let them revoke a session. Viewer-owned — a user's sessions are never exposed to a business.
Fields
idID!deviceLabelStringFriendly device/browser label derived from the User-Agent (e.g. "Chrome on macOS"). null when the User-Agent is missing or unrecognized.
ipAddressStringApproximate IP address captured for this session. null when unknown.
createdAtDateTime!lastUsedAtDateTime!currentBoolean!true for the session making the current request — the device you're using right now. Lets the UI label it and disable revoking it directly.
Used in
UserSession