Session Expiration Monitoring and User Alert API

The Session Expiration Monitoring and User Alert API enables client applications, such as Entitlement Service or User Console, to monitor the remaining time of an active Privileged Remote Access (PRA) session and proactively alert users before the session expires.

This API is designed to prevent unexpected session termination due to entitlement duration limits, policy‑based timeouts, or administrative actions. By exposing session expiration data and near‑expiration events, integrated systems can provide timely, user‑friendly warnings and reduce disruption during active sessions.

ℹ️

This API provides visibility and notification only. It does not modify session termination behavior, extend sessions, or override security policies.

This standardized API and event mechanism enables integrated systems to:

  • Retrieve the remaining time for an active PRA session.
  • Subscribe to session lifecycle and expiration events.
  • Configure warning thresholds to alert users before session termination.
  • Ensure session expiration is predictable, visible, and manageable for both users and administrators.
ℹ️

The default alert occurs five (5) minutes before expiration.

Endpoint

This returns a list of active Jump Approval sessions for the specified user, including computed fields for expiration tracking.

GET /api/config/v1/jump-approval/session-status/USER_ID

Path Parameter

ParameterTypeRequiredDescription
user_idintegerYesThe ID of the user whose active sessions to retrieve

Response Behavior

ScenarioStatusBody
User has no active sessions200 OKEmpty array [ ]
User has approved or in-progress sessions200 OKArray of session objects
User does not exist or invalid input422 Unprocessable EntityValidation error details
Called on a Remote Support (non-PRA) appliance404 Not Found

Session Object Schema

FieldTypeDescription
idintegerUnique session identifier
statestring"approved" or "in_use"
jump_item_idintegerID of the associated jump item
jump_item_typestringType of jump item (e.g., "web_jump")
jump_policy_idintegerID of the governing jump policy
created_by_user_idintegerID of the user who created the request
start_timestampintegerUnix timestamp when the session started
durationintegerApproved session duration in seconds
end_timestampintegerEquals start_timestamp + duration
time_remaining_secondsintegerSeconds remaining; ≥ 0
expiredbooleanWhether the session has expired

Example response:

[
    {
        "id": 5,
        "state": "approved",
        "jump_item_id": 8,
        "jump_item_type": "jump_client",
        "jump_policy_id": 2,
        "created_by_user_id": 23,
        "start_timestamp": 1771969289,
        "duration": 300,
        "end_timestamp": 1771969589,
        "time_remaining_seconds": 283,
        "expired": false
    }
]

Entitlement Integration Example

  1. The Entitlement Service subscribes to the session lifecycle event stream or polls the expiration endpoint.
  2. When the "expiring soon" event is received, the service surfaces a banner or modal in the active session UI.
  3. The user is notified with a clear, actionable message:
    "Your session will expire in 5 minutes. Please save your work or request an extension if applicable."

This approach enables entitlement‑aware systems to handle expiration events smoothly without compromising security.

©2003-2026 BeyondTrust Corporation. All Rights Reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.