getSession()
Retrieves a single session by its ID, if the ID is valid. Throws an error otherwise.
const sessionId = 'my-session-id';
const session = await clerkClient.sessions.getSession(sessionId);- Name
sessionId- Type
string- Description
The ID of the session to retrieve.