List All Sessions
GET/admin/sessions
Listing all sessions that exist.
SDK ReferenceTypeScript
listSessions()| Parameters | Type | Required | Description |
|---|---|---|---|
| pageSize | number | optional | Items per Page This is the number of items per page to return. For details on pagination please head over to the pagination documentation. |
| pageToken | string | optional | Next Page Token The next page token. For details on pagination please head over to the pagination documentation. |
| active | boolean | optional | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. |
| expand | Array<'identity' | 'devices' | '11184809'> | optional | ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. If no value is provided, the expandable properties are skipped. |
| Variable | Type |
|---|---|
| data | Array<Session> |