Admin Sessions
List live sessions
Allows admins to enumerate live sessions stored in Redis. Returns metadata only — never access tokens, refresh tokens, or CSRF values. Pagination is cursor-based; pass back the next_cursor from a previous response to continue, or omit to start fresh. Iteration is complete when next_cursor is absent.
get/admin/sessions
Request
- Base URLhttps://h2ogpte.genai.h2o.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
cursorstring
Opaque cursor returned by a previous call. Omit on the first call.
limitinteger
Maximum number of sessions to return in this page. Defaults to 100, hard-capped at 500.
Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.