Session is a datatype for an active session.

This datatype is used by the datatype, SessionQueryResultSet, which is used by the sessions() query field.

Table: Session

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
cityString  Long-Term Approximate city from IP
clientInfoStringyes Long-Term Client info.
countryString  Long-Term Country from IP
createdAtLong  Long-Term The time at which the session was created.
idStringyes Long-Term The id of the session
ipStringyes Long-Term The IP of the client when the session was created.
isCurrentSessionBooleanyes Long-Term If the session is the current session for the user.
lastActivityAtLong  Long-Term The time at which the session was last active.
userUseryes Long-Term The user that created the session.