Skip to main content
GET
/
v1
/
sessions
/
{sessionId}
/
events
Retrieve the event log for a specific session
curl --request GET \
  --url https://api.roundtable.ai/v1/sessions/{sessionId}/events \
  --header 'Authorization: Bearer <token>'
{
  "session_id": "abc123def456",
  "event_count": 3,
  "events": [
    {
      "action": "Signed in",
      "user_time": "Mar 25, 2025 14:30:45",
      "unix_timestamp": 1743055845000
    },
    {
      "action": "Navigated to /dashboard",
      "user_time": "Mar 25, 2025 14:30:50",
      "unix_timestamp": 1743055850000
    },
    {
      "action": "Clicked \"Update credit card\"",
      "user_time": "Mar 25, 2025 14:32:15",
      "unix_timestamp": 1743055935000
    }
  ]
}

Authorizations

Authorization
string
header
required

Use your secret API key as the bearer token

Path Parameters

sessionId
string
required

The unique session identifier (from window.getRoundtableSessionId())

Response

200 - application/json

Session events retrieved successfully

session_id
string

Unique identifier for the session

Example:

"abc123def456"

event_count
integer

Total number of events recorded during the session

Example:

3

events
object[]

Chronological list of user events recorded during the session

Example:
[
  {
    "action": "Signed in",
    "user_time": "Mar 25, 2025 14:30:45",
    "unix_timestamp": 1743055845000
  },
  {
    "action": "Navigated to /dashboard",
    "user_time": "Mar 25, 2025 14:30:50",
    "unix_timestamp": 1743055850000
  },
  {
    "action": "Clicked \"Update credit card\"",
    "user_time": "Mar 25, 2025 14:32:15",
    "unix_timestamp": 1743055935000
  }
]