Session Replays
List recorded session replay summaries and retrieve daily replay totals through the REST API.
List replay-bearing sessions for an inclusive calendar-day range. The list supports event, page, visitor, UTM, and explicit session-ID filters, and uses cursor pagination. The overview endpoint returns account-wide replay totals and a daily timeseries for the same date range.
Authorization
apiKey Ours Privacy API key
In: header
Query Parameters
Inclusive lower bound of the replay window as YYYY-MM-DD.
^\d{4}-\d{2}-\d{2}$dateInclusive upper bound of the replay window as YYYY-MM-DD.
^\d{4}-\d{2}-\d{2}$date1 <= length <= 5001 <= length <= 5001 <= length <= 2001 <= length <= 5121 <= length <= 5121 <= length <= 5121 <= length <= 5121 <= length <= 5121 <= length <= 512Optional JSON-encoded session ID array. Maximum 100 session IDs.
Maximum replay sessions to return. Defaults to the report default.
1 <= value <= 100Opaque pagination cursor from pagination.nextCursor in the previous response. Do not decode or modify it. Malformed cursors return 400 Bad Request.
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/rest/v1/session-replays?from=2019-08-24&to=2019-08-24"{ "items": [ { "sessionId": "string", "visitorId": "string", "date": "string", "duration": 0, "eventCount": 0, "pageCount": 0, "startTime": "string" } ], "pagination": { "nextCursor": "string", "hasMore": true }}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}Authorization
apiKey Ours Privacy API key
In: header
Query Parameters
Inclusive lower bound of the replay window as YYYY-MM-DD.
^\d{4}-\d{2}-\d{2}$dateInclusive upper bound of the replay window as YYYY-MM-DD.
^\d{4}-\d{2}-\d{2}$dateResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/rest/v1/session-replays/overview?from=2019-08-24&to=2019-08-24"{ "totalReplays": 0, "timeseries": [ { "date": "string", "value": 0 } ]}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}How is this guide?

