replays
POST
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/evidence Scope replay:writeParameters
project_idstringpathrequiredsession_idstringpathrequiredCode samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/evidence"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 signed evidence bundle (JSON download), audited as replay.evidence_exported
403
404
503
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/experiment-markers Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/experiment-markers"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 in playhead order
Example
{
"data": [
{
"event": "string",
"experiment_id": "string",
"experiment_name": "string",
"kind": "string",
"metric": "string",
"offset_ms": 0,
"role": "string",
"variant": "string"
}
]
}Schema
dataExperimentMarker[]requiredShow child parameters
eventstringrequiredexperiment_idstringrequiredexperiment_namestringrequiredkindstringrequiredexposure | metricmetricstringThe metric's name (
metric markers).offset_msintegerrequiredrolestringprimary | secondary (metric markers).variantstring404
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/export Scope replay:read pii:readParameters
project_idstringpathrequiredsession_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/export"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 metadata, markers, comments and the raw chunks (base64)
Example
{
"chunk_range": {
"first_seq": 0,
"last_seq": 0
},
"chunks": [
{
"gzip_base64": "string",
"seq": 0
}
],
"comments": [
{
"assignee_id": "string",
"at_ms": 0,
"body": "string",
"created_at": "2024-01-01T00:00:00Z",
"created_by": "string",
"id": "string",
"is_task": true,
"point_node": 0,
"point_node_x": 0,
"point_node_y": 0,
"point_x": 0,
"point_y": 0,
"resolved_at": "2024-01-01T00:00:00Z",
"session_id": "string"
}
],
"external_markers": [
{
"kind": "string",
"offset_ms": 0,
"source": "string",
"title": "string",
"ts": "2024-01-01T00:00:00Z",
"url": "string"
}
],
"last_part": true,
"markers": [
{
"event": "string",
"flag": "string",
"kind": "string",
"offset_ms": 0,
"path": "string",
"properties": {},
"selector": "string",
"ts": "2024-01-01T00:00:00Z"
}
],
"replay": {
"active_ms": 0,
"chunk_count": 0,
"click_count": 0,
"distinct_id": "string",
"duration_s": 0,
"ended_at": "2024-01-01T00:00:00Z",
"first_url": "string",
"keypress_count": 0,
"legal_hold": true,
"person_id": "string",
"retention_until": "2024-01-01T00:00:00Z",
"session_id": "string",
"size_bytes": 0,
"started_at": "2024-01-01T00:00:00Z",
"urls": [
"string"
]
}
}Schema
chunk_rangeChunkRangerequiredShow child parameters
first_seqintegerrequiredlast_seqintegerrequiredchunksRawChunk[]requiredShow child parameters
gzip_base64stringrequiredseqintegerrequiredcommentsReplayComment[]requiredShow child parameters
assignee_idstringat_msintegerrequiredOffset into the recording, in ms.
bodystringrequiredcreated_atstringrequiredcreated_bystringidstringrequiredis_taskbooleanrequiredA task: someone should act on it; done when
resolved_at is set.point_nodeintegerRecorded DOM node (rrweb mirror id) the point is anchored to, and the point inside its box (fractions 0..1): the player follows the node when the page reflows (G240).
point_node_xnumberpoint_node_ynumberpoint_xnumberPoint on the frame the comment is pinned to, as fractions of the viewport (0..1).
point_ynumberresolved_atstringsession_idstringrequiredexternal_markersExternalMarkerView[]requiredShow child parameters
kindstringrequiredoffset_msintegerrequiredsourcestringrequiredtitlestringrequiredtsstringrequiredurlstringrequiredlast_partbooleanrequiredFalse when more parts of this recording follow in the
export/window stream (later parts repeat replay but carry no markers or comments).markersEventMarkerView[]requiredShow child parameters
eventstringrequiredflagstringrequiredkindstringrequiredautocapture | navigation | signal | flag | survey | form | system | custom
offset_msintegerrequiredpathstringrequiredpropertiesobjectrequiredEvent properties; null for roles without PII access.
selectorstringrequiredtsstringrequiredreplayobjectrequiredReplay metadata (
ReplayMeta::view).Show child parameters
active_msintegerrequiredchunk_countintegerrequiredclick_countintegerrequireddistinct_idstringrequiredPseudonymised (
anon-xxxxxxxx) for roles without PII access.duration_sintegerrequiredended_atstringrequiredfirst_urlstringrequiredkeypress_countintegerrequiredKey presses counted by the browser SDK (none in password, masked or blocked fields); for older SDKs, input events (one per field change).
legal_holdbooleanrequiredperson_idstringrequiredretention_untilstringrequiredsession_idstringrequiredsize_bytesintegerrequiredstarted_atstringrequiredurlsstring[]required403
404
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/export/html Scope replay:read pii:readA self-contained HTML player for the replay (or a clip of it): rrweb replay bundle, styles and events in one file that plays offline. MP4/GIF renders of the same document go through `replays_video` (queued, rendered by the headless renderer).
Parameters
project_idstringpathrequiredsession_idstringpathrequiredstart_msintegerqueryend_msintegerqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/export/html"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 standalone HTML player
"string"
400
403
404
POST
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/exports/video Scope replay:read pii:readParameters
project_idstringpathrequiredsession_idstringpathrequiredRequest body
application/json
end_msintegerEnd offset, ms (default: the end of the recording).
formatstringrequiredmp4 | giffpsintegerFrames per second, 1..=30 (default 10).
player_chromebooleanKeep the player header with elapsed time (default false).
skip_idlebooleanCollapse idle stretches (default false).
start_msintegerOffset into the recording, ms (default 0).
widthintegerOutput width in px, 1..=1920 (default: natural size).
{
"end_ms": 0,
"format": "string",
"fps": 0,
"player_chrome": true,
"skip_idle": true,
"start_ms": 0,
"width": 0
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/exports/video" \
-H "Content-Type: application/json" \
-d '{"end_ms":0,"format":"string","fps":0,"player_chrome":true,"skip_idle":true,"start_ms":0,"width":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
202 Queued; poll the export, then follow download_url
Example
{
"completed_at": "2024-01-01T00:00:00Z",
"created_at": "2024-01-01T00:00:00Z",
"end_ms": 0,
"error": "string",
"expires_at": "2024-01-01T00:00:00Z",
"format": "string",
"fps": 0,
"id": "string",
"player_chrome": true,
"requested_by": "string",
"session_id": "string",
"size_bytes": 0,
"skip_idle": true,
"start_ms": 0,
"status": "string",
"width": 0,
"download_url": "string"
}Schema
completed_atstringcreated_atstringrequiredend_msintegerNone = to the end of the recording.errorstringexpires_atstringformatstringrequiredmp4 | giffpsintegerrequiredidstringrequiredplayer_chromebooleanrequiredrequested_bystringsession_idstringrequiredsize_bytesintegerskip_idlebooleanrequiredstart_msintegerrequiredstatusstringrequiredpending | running | done | failedwidthintegerOutput width in px (
None = natural size).download_urlstringPresent once the export is
done and not expired.400
403
404
429 too many exports in flight
503 no renderer or object store
PUT
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/hold Parameters
project_idstringpathrequiredsession_idstringpathrequiredRequest body
application/json
holdbooleanrequired{
"hold": true
}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/hold" \
-H "Content-Type: application/json" \
-d '{"hold":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/issues Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredlimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/issues"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Newest first
Example
{
"data": [
{
"at_ms": 0,
"connection_id": "string",
"created_at": "2024-01-01T00:00:00Z",
"created_by": "string",
"external_id": "string",
"external_key": "string",
"id": "string",
"provider": "string",
"session_id": "string",
"title": "string",
"url": "string"
}
],
"next_cursor": "string"
}Schema
dataobject[]requiredShow child parameters
at_msintegerReplay timestamp the issue links to, ms.
connection_idstringcreated_atstringrequiredcreated_bystringexternal_idstringrequiredexternal_keystringrequiredHuman key:
ENG-12, owner/repo#7, PROJ-3, #4.idstringrequiredproviderstringrequiredsession_idstringrequiredtitlestringrequiredurlstringrequirednext_cursorstring400
404
Updated