Retrieve a session

async AsyncCogniteClient.iam.sessions.retrieve(
id: int | Sequence[int],
) Session | SessionList

Retrieves sessions with given IDs.

The request will fail if any of the IDs does not belong to an existing session.

Parameters:

id (int | Sequence[int]) – Id or list of session ids

Returns:

Session or list of sessions.

Return type:

Session | SessionList