Session is a datatype for an active session.

Table: Session

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in the results.
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.