Session is a datatype for an active session.

Table: Session

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Oct 3, 2024
citystring  Approximate city from IP address.
clientInfostringyes Information about the client.
countrystring  Country from IP address.
createdAtlong  The time at which the session was created.
idstringyes The unique identifier of the session.
ipstringyes The IP of the client when the session was created.
isCurrentSessionbooleanyes Whether the session is the current session for the user.
lastActivityAtlong  The time at which the session was last active.
userUseryes The user that created the session. See User.