Typed timeline markers extracted from the event stream
VIEWER+. Returns marker rows ordered by timestamp. Optional `?kind=` filter (e.g. `url`, `identity`).
/api/sessions/{sessionId}/markersVIEWER+. Returns marker rows ordered by timestamp. Optional ?kind= filter (e.g. url, identity).
Path Parameters
Session id (cuid)
Response Body
application/json
curl -X GET "https://loading/api/sessions/string/markers"{
"markers": [
{
"timestamp": 1761480000000,
"kind": "url",
"data": {
"url": "https://your-app.com/checkout",
"pathname": "/checkout"
}
}
]
}Stream rrweb events as gzip-compressed batches GET
VIEWER+. Returns every `EventBatch` row for the session, ordered by `firstTimestamp`. The client decompresses each `data` (base64 + gzip), concatenates the events, and feeds them to rrweb.Replayer.
KPI aggregate for the sessions list stats strip GET
VIEWER+. Returns four KPIs scoped to the caller's active org: total sessions, total duration, average duration (rounded), active today (created in the last 24 h). Single SQL round-trip via `$queryRaw` with conditional aggregation.