Session is a datatype for an active session.

Table: Session

ParameterTypeRequiredDefaultStabilityDescription
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  Long-TermApproximate city from IP address.
clientInfostringyes Long-TermInformation about the client.
countrystring  Long-TermCountry from IP address.
createdAtlong  Long-TermThe time at which the session was created.
idstringyes Long-TermThe unique identifier of the session.
ipstringyes Long-TermThe IP of the client when the session was created.
isCurrentSessionbooleanyes Long-TermWhether the session is the current session for the user.
lastActivityAtlong  Long-TermThe time at which the session was last active.
userUseryes Long-TermThe user that created the session. See User.