Skip to main content

SessionInfo

A session of the signed-in user.

type SessionInfo {
browser: String
createdAt: DateTime!
device: String
id: ID!
ipAddress: String!
isActive: Boolean!
isCurrent: Boolean!
lastActivityAt: DateTime!
location: String
os: String
userAgent: String
}

Fields​

SessionInfo.browser ● String scalar​

The browser.

SessionInfo.createdAt ● DateTime! non-null scalar​

When the record was created.

SessionInfo.device ● String scalar​

The device.

SessionInfo.id ● ID! non-null scalar​

The unique ID of this record.

SessionInfo.ipAddress ● String! non-null scalar​

The IP address.

SessionInfo.isActive ● Boolean! non-null scalar​

Whether the record is active.

SessionInfo.isCurrent ● Boolean! non-null scalar​

True when this is the session in use now.

SessionInfo.lastActivityAt ● DateTime! non-null scalar​

When the session was last active.

SessionInfo.location ● String scalar​

Where it came from.

SessionInfo.os ● String scalar​

The operating system.

SessionInfo.userAgent ● String scalar​

The browser or app string.

Returned By​

mySessions query