replays
GET
https://lucidace.com /v1/projects/{project_id}/replays/tasks Scope replay:readParameters
project_idstringpathrequiredfor_mebooleanpathrequiredOnly tasks assigned to the caller.
assigneestringpathrequiredinclude_donebooleanpathrequiredInclude done tasks (default: open only).
limitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/tasks"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 newest first
Example
{
"data": [
{
"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"
}
],
"next_cursor": "string"
}Schema
dataobject[]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_idstringrequirednext_cursorstring400
404
GET
https://lucidace.com /v1/projects/{project_id}/replays/video-exports Scope replay:read pii:readParameters
project_idstringpathrequiredsession_idstringquerylimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/video-exports"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Newest first
Example
{
"data": [
{
"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"
}
],
"next_cursor": "string"
}Schema
dataVideoExport & object[]requiredShow child parameters
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.next_cursorstring400
403
404
GET
https://lucidace.com /v1/projects/{project_id}/replays/video-exports/{id} Scope replay:read pii:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/video-exports/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
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.403
404
GET
https://lucidace.com /v1/projects/{project_id}/replays/video-exports/{id}/download Scope replay:read pii:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/video-exports/{id}/download"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 The video (attachment)
403
404 Unknown, not ready or expired
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id} Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 every view is audited as replay.viewed and marks it watched for the user
Example
{
"chunks": [
{
"expires_at": "2024-01-01T00:00:00Z",
"presigned": true,
"seq": 0,
"url": "string",
"window": 0,
"window_id": "string"
}
],
"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"
}
],
"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"
]
},
"tags": [
"string"
],
"watchtower_issues": [
{
"issue_id": "string",
"message": "string",
"occurrences": 0,
"offset_ms": 0,
"trace_id": "string",
"url": "string"
}
]
}Schema
chunksChunkLinkView[]requiredShow child parameters
expires_atstringrequiredpresignedbooleanrequiredseqintegerrequiredurlstringrequiredwindowintegerrequiredBrowser tab (window) of the chunk, 0 for the first; each window is played on its own.
window_idstringrequiredSDK window id of the tab the chunk was recorded in; empty for chunks stored before it was indexed.
commentsarrayrequiredAbsent on the public share view.
external_markersExternalMarkerView[]requiredShow child parameters
kindstringrequiredoffset_msintegerrequiredsourcestringrequiredtitlestringrequiredtsstringrequiredurlstringrequiredmarkersEventMarkerView[]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[]requiredtagsarrayManual tags (absent on the public share view).
watchtower_issuesarrayWatchtower issues hit during the session, in order of first sighting (absent on the public share view).
403
404
410 deleted: when and by whom
503
DELETE
https://lucidace.com /v1/projects/{project_id}/replays/{session_id} Parameters
project_idstringpathrequiredsession_idstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
409 legal hold
PATCH
https://lucidace.com /v1/projects/{project_id}/replays/{session_id} Scope replay:writeParameters
project_idstringpathrequiredsession_idstringpathrequiredRequest body
application/json
Replay changes; every field is optional, at least one is required.
retention_untilstringWhen the retention sweeper deletes this replay (future, at most 5 years out).
tagsarrayReplaces the manual tags (1 to 40 characters each, at most 20; trimmed, lower-cased).
viewedbooleanWatched (true) or unwatched (false) for the calling user.
{
"retention_until": "2024-01-01T00:00:00Z",
"tags": [
"string"
],
"viewed": true
}Code samples
cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}" \
-H "Content-Type: application/json" \
-d '{"retention_until":"2024-01-01T00:00:00Z","tags":["string"],"viewed":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
400 empty patch, bad tags or expiry, or
viewed from an API key403
404
Updated