Skip to main content
GET
Requires version 1.1.5 or later of the Archetype platform.

Overview

This endpoint returns detailed information about each active lens session in your organization.

Request

string
Optional. Filter to a specific session by ID.
integer
default:"-1"
Optional. Shard index for pagination. Use -1 to retrieve all sessions.
integer
default:"-1"
Optional. Maximum items per shard. Use -1 for no limit.

Response

Returns an array of session objects, each containing:
string
Unique identifier for the session
string
The lens ID associated with this session
float
Unix timestamp of the last activity on this session
string
Current status of the session
string
WebSocket endpoint for this session
float
How long the session has been active in seconds
string
Identifier of the backend runner hosting the session.
integer
Zero-based index of this session within the runner.