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

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for 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.