The Backend Session
object
The Backend Session
object is similar to the Session object as it is an abstraction over an HTTP session and models the period of information exchange between a user and the server. However, the Backend Session
object is different as it is used in the Backend API and is not directly accessible from the Frontend API.
Name abandonAt
Type number
Description The date when the Session
will be abandoned.
Name actor
Type null | Record<string, unknown>
Description The JWT actor for the session. Holds identifier for the user that is impersonating the current user. Read more about impersonation .
Name clientId
Type string
Description The ID of the client associated with the Session
.
Name createdAt
Type number
Description The date when the Session
was first created.
Name expireAt
Type number
Description The date when the Session
will expire.
Name id
Type string
Description The unique identifier for the Session
.
Name lastActiveAt
Type number
Description The time the session was last active on the Client .
Name lastActiveOrganizationId?
Type string
Description The ID of the last active organization.
Name latestActivity?
Type SessionActivity Description An object that provides additional information about this session, focused around user activity data.
Name status
Type string
Description The current state of the Session
.
Name updatedAt
Type number
Description The date when the Session
was last updated.
Name userId
Type string
Description The ID of the user associated with the Session
.
Last updated on Jul 8, 2025