cURL
curl --request GET \ --url https://api.roundtable.ai/v1/users/{userId}/sessions \ --header 'Authorization: Bearer <token>'
{ "user_id": "user-456", "sessions": [ { "session_id": "abc123def456", "risk_score": 75, "risk_explanation": "Multiple bot behaviors detected including programmatic typing and lack of corrections", "user_logs": [ { "action": "Navigated to /dashboard", "user_time": "Mar 25, 2025 14:30:50", "unix_timestamp": 1743055850000 } ], "biometric_checks": { "programmatic_typing": "Detected", "teleporting_mouse": "Not detected", "no_corrections": "Detected", "all_pasted": "Unknown" }, "device_checks": { "bot": "Detected", "virtual_machine": "Not detected", "vpn": "Detected", "tor": "Not detected", "location_spoofing": "Unknown" } } ] }
Get the 100 most recent sessions for a specific user ID
Use your secret API key as the bearer token
The unique user identifier
User sessions retrieved successfully
The response is of type object.
object