List sessions
- async AsyncCogniteClient.iam.sessions.list(
- status: Literal['READY', 'ACTIVE', 'CANCELLED', 'EXPIRED', 'REVOKED', 'ACCESS_LOST'] | None = None,
- limit: int = 25,
List all sessions in the current project.
- Parameters:
status (SessionStatus | None) – If given, only sessions with the given status are returned.
limit (int) – Max number of sessions to return. Defaults to 25. Set to -1, float(“inf”) or None to return all items.
- Returns:
a list of sessions in the current project.
- Return type: