API
Session replay endpoints
These endpoints return the recordings behind the Replay page. Reading needs replay:read. They are not available through Public Analytics or a private link. Session replay is included in Business and Agency.
Last updated . This guide belongs to Session replay.
GET /sites/:siteId/session-replay/list
| Parameter | Meaning | Default |
|---|---|---|
limit, offset | Paging. Maximum 1,000 rows | 50, 0 |
userId | Recordings for one user | |
minDuration | Shortest length in seconds |
It also takes start_date and end_date, filters and segment_id. Recordings come newest first.
Each row has session_id, start_time, end_time, duration_ms, page_url, event_count, and the visitor's location and device.
GET /sites/:siteId/session-replay/:sessionId
Returns the whole recording in one response: events in rrweb format and metadata about the session.
A recording that does not exist returns status 404.
DELETE /sites/:siteId/session-replay/:sessionId
Deletes the recording. The analytics events for the session are kept. It needs replay:write and an admin or an owner.