Skip to main content
POST
List session replay segments

Restrictions

Usage

  • When url_mode is false (default), the response streams application/x-ndjson — one decompressed replay segment JSON object per line — and is not wrapped in the standard envelope. The pagination cursor for the next call is returned in the X-Search-After-Ctx response header instead of a body field.
  • When url_mode is true, the response is a normal JSON envelope containing presigned download URLs (valid 1 hour) instead of the raw segment bytes.
  • Pass ts to seek to the most recent full-snapshot segment at or before that time, instead of paging from the start of the session.
  • limit accepts 1-99; values of 100 or more are rejected.

Authorizations

app_key
string
query
required

App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.

Body

application/json

Page through the recorded replay segments of a session, or a single view within it.

session_id
string
required

RUM session ID.

view_id
string

Restrict results to segments belonging to this view. Omit to page through the entire session.

search_after_ctx
string

Pagination cursor from a previous call. Take it from the search_after_ctx field (URL mode) or the X-Search-After-Ctx response header (streaming mode).

ts
integer<int64>

Unix timestamp in milliseconds. When set (and search_after_ctx is empty), seeks to the most recent full-snapshot segment at or before this time instead of starting from the beginning.

url_mode
boolean

When true, return presigned download URLs as a JSON envelope instead of streaming segment bytes. Defaults to false.

limit
integer
default:20

Maximum number of segments to return. 1-99, default 20.

Required range: 1 <= x <= 99

Response

Success. Shape depends on url_mode — see Usage.

Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id response header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object
required

Presigned segment URLs, returned only when url_mode is true.