© 2026 Hedgehog Software, LLC
const sess = await auth.api.listSessions({ headers: c.req.raw.headers });
[ { "expiresAt": "2025-05-25T04:19:35.528Z", "token": "mytoken", "createdAt": "2025-05-24T04:19:35.528Z", "updatedAt": "2025-05-24T04:19:35.528Z", "ipAddress": "", "userAgent": "", "userId": "myuserid", "id": "myid" } ]
[ { "expires_at": "2025-05-25T04:19:35.528Z", "token": "mytoken", "created_at": "2025-05-24T04:19:35.528Z", "updated_at": "2025-05-24T04:19:35.528Z", "ip_address": "", "user_agent": "", "user_id": "myuserid", "id": "myid" } ]
useSession
getSession