Developer Resources
Getting User Data
Getting Started
Using Roundtable
Developer Resources
Support Center
Developer Resources
Getting User Data
Get the 100 most recent sessions for a specific user ID, including user actions, failed checks, and session replay links for each session
GET
/
v0.0
/
users
/
{userId}
/
sessions
curl --request GET \
--url https://api.roundtable.ai/v0.0/users/{userId}/sessions \
--header 'Authorization: Bearer <token>'
{
"user_id": "user-456",
"sessions": [
{
"session_id": "abc123def456",
"start_time": "Mar 25, 2025 14:30:45",
"start_timestamp": 1743055845000,
"user_logs": [
{
"action": "Navigated to /dashboard",
"user_time": "Mar 25, 2025 14:30:50",
"timestamp": 1743055850000
}
],
"failed_checks": [
{
"check": "Unnatural mouse movement",
"user_time": "Mar 25, 2025 14:31:05",
"timestamp": 1743055865000
}
],
"session_replay": {
"url": "https://app.roundtable.ai/replay/abc123def456",
"duration_seconds": 142
}
}
]
}
Authorizations
Use your private API key as the bearer token
Path Parameters
The unique user identifier
Response
200 - application/json
User sessions retrieved successfully
The user identifier
Example:
"user-456"
List of session data
Unique identifier for the session
Example:
"abc123def456"
Human-readable timestamp of session start
Example:
"Mar 25, 2025 14:30:45"
Unix timestamp in milliseconds of session start
Example:
1743055845000
Chronological list of user actions recorded during the session
List of behavioral anomalies detected during the session
Description of the failed check
Example:
"Unnatural mouse movement"
Human-readable timestamp in user's local timezone
Example:
"Mar 25, 2025 14:31:05"
Unix timestamp in milliseconds
Example:
1743055865000
curl --request GET \
--url https://api.roundtable.ai/v0.0/users/{userId}/sessions \
--header 'Authorization: Bearer <token>'
{
"user_id": "user-456",
"sessions": [
{
"session_id": "abc123def456",
"start_time": "Mar 25, 2025 14:30:45",
"start_timestamp": 1743055845000,
"user_logs": [
{
"action": "Navigated to /dashboard",
"user_time": "Mar 25, 2025 14:30:50",
"timestamp": 1743055850000
}
],
"failed_checks": [
{
"check": "Unnatural mouse movement",
"user_time": "Mar 25, 2025 14:31:05",
"timestamp": 1743055865000
}
],
"session_replay": {
"url": "https://app.roundtable.ai/replay/abc123def456",
"duration_seconds": 142
}
}
]
}