provider Rum Replay Sessions GET /api/v2/rum/replay/sessions/{session_id}/views/{view_id}/segments
@utdk/datadog /api/v2/rum/replay/sessions/{session_id}/views/{view_id}/segments
Get segments
Get segments for a view.
view_id path required
Unique identifier of the view.
string
source query
Storage source: 'event_platform' or 'blob'.
string
session_id path required
Unique identifier of the session.
string
ts query
Server-side timestamp in milliseconds.
integer
max_list_size query
Maximum size in bytes for the segment list.
integer
paging query
Paging token for pagination.
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getsegments
GET/api/v2/rum/replay/sessions/{session_id}/views/{view_id}/segments
Get segments for a view.

Parameters

required

Unique identifier of the view.

required

Unique identifier of the session.

Storage source: 'event_platform' or 'blob'.

Server-side timestamp in milliseconds.

Maximum size in bytes for the segment list.

Paging token for pagination.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.getsegments()