List sessions
list() returns one page of sessions that are not archived. Archived sessions
are excluded by default.
- Python
- TypeScript
has_more and last_id fields for cursor pagination. Use the
auto-paginating iterator when you need every matching session:
- Python
- TypeScript
include_archived=True in Python or include_archived: true in
TypeScript to include archived sessions.
Retrieve a session
Retrieve the latest session record by its ID:- Python
- TypeScript
Archive a session
Archive a session when you no longer need it in the default session list:- Python
- TypeScript
archived status and is available in list results
when include_archived is enabled.