A session's replay manifest: windows, page loads and their chunks, with times, sizes and activity, and no URLs. Needs replay access; a manifest with content is recorded in the audit log as `rum.replay.viewed` (once per viewer and session per 30 minutes).
const url = 'https://api.siteqwality.com/rum/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sessions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/replay';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siteqwality.com/rum/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sessions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/replay \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”RUM application identifier
Session identifier
Responses
Section titled “ Responses ”The replay manifest
A session’s replay, without URLs (GET /rum/{app_id}/sessions/{session_id}/replay).
object
Where a session’s replay stands.
Unix ms of the first and last recorded event (0 when nothing was recorded).
Time with user input, over compacted blocks.
[start, end] Unix ms ranges with user input, sorted and merged.
Ordered by start.
One browser tab.
object
0 for the tab that recorded first.
One document in one tab, from navigation to unload.
object
The page URL when recording started, minimised (empty until known).
In playback order.
One downloadable piece of a page load.
object
Opaque; pass it to POST .../replay/chunks.
What a chunk is.
Unix ms of the first and last event.
Bytes to download.
Starts with a full snapshot, so playback can start here.
Example
{ "status": "ready", "reason": "not_sampled", "windows": [ { "page_loads": [ { "chunks": [ { "kind": "block" } ] } ] } ]}Missing or invalid authentication
No replay access: viewers, auditors, members when the account allows admins only, and keys without read:rum_replay
Application not found
Internal server error