The Session datatype includes various settings.

Table: Session

ParameterTypeRequired[a]DefaultDescription
idstringyes The unique identifier of the session.
clientInfostringyes Information about the client.
citystring  Approximate city from IP address.
countrystringyes Country from IP address.
ipstringyes The IP of the client when the session was created.
userUseryes The user that created the session (see User Table).
createdAtlong  The time at which the session was created.
lastActivityAtlong  The time at which the session was last active.
isCurrentSessionbooleanyes Whether the session is the current session for the user.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.