List sessions
Returns sessions created via the V1 API, scoped to the authenticated user’s organization. Sessions created in the web app are not included.
Requires the admin role. API keys created by members can call
every other Sessions endpoint, but this one is admin-only because it
returns sessions across all users in the organization. Calls from a
member-role key return 403 Forbidden.
If page and limit are both omitted, all sessions are returned in a
single response.
Authorizations
Bearer token in the Authorization header — for example,
Authorization: Bearer trv_ak_your_api_key_here. Each key is bound to a
specific user and organization.
Query Parameters
Page number (1-indexed).
x >= 1Number of sessions per page.
x >= 1Response
A page of sessions.