replays

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-replays"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/f61a15c1-5e82-4d49-8a06-0653b0b02c63/social-card.svg?v=3e7ae33eec8b" alt="replays" width="600" height="315"></a>
GEThttps://lucidace.com/v1/projects/{project_id}/replays/tasksScope replay:read

Parameters

project_idstringpathrequired
for_mebooleanpathrequired
Only tasks assigned to the caller.
assigneestringpathrequired
include_donebooleanpathrequired
Include done tasks (default: open only).
limitintegerquery
cursorstringquery

Code 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[]required
Show child parameters
assignee_idstring
at_msintegerrequired
Offset into the recording, in ms.
bodystringrequired
created_atstringrequired
created_bystring
idstringrequired
is_taskbooleanrequired
A task: someone should act on it; done when resolved_at is set.
point_nodeinteger
Recorded 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_xnumber
point_node_ynumber
point_xnumber
Point on the frame the comment is pinned to, as fractions of the viewport (0..1).
point_ynumber
resolved_atstring
session_idstringrequired
next_cursorstring
400
404
GEThttps://lucidace.com/v1/projects/{project_id}/replays/video-exportsScope replay:read pii:read

Parameters

project_idstringpathrequired
session_idstringquery
limitintegerquery
cursorstringquery

Code 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[]required
Show child parameters
completed_atstring
created_atstringrequired
end_msinteger
None = to the end of the recording.
errorstring
expires_atstring
formatstringrequired
mp4 | gif
fpsintegerrequired
idstringrequired
player_chromebooleanrequired
requested_bystring
session_idstringrequired
size_bytesinteger
skip_idlebooleanrequired
start_msintegerrequired
statusstringrequired
pending | running | done | failed
widthinteger
Output width in px (None = natural size).
download_urlstring
Present once the export is done and not expired.
next_cursorstring
400
403
404
GEThttps://lucidace.com/v1/projects/{project_id}/replays/video-exports/{id}Scope replay:read pii:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code 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_atstring
created_atstringrequired
end_msinteger
None = to the end of the recording.
errorstring
expires_atstring
formatstringrequired
mp4 | gif
fpsintegerrequired
idstringrequired
player_chromebooleanrequired
requested_bystring
session_idstringrequired
size_bytesinteger
skip_idlebooleanrequired
start_msintegerrequired
statusstringrequired
pending | running | done | failed
widthinteger
Output width in px (None = natural size).
download_urlstring
Present once the export is done and not expired.
403
404
GEThttps://lucidace.com/v1/projects/{project_id}/replays/video-exports/{id}/downloadScope replay:read pii:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code 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
GEThttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}Scope replay:read

Parameters

project_idstringpathrequired
session_idstringpathrequired

Code 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[]required
Show child parameters
expires_atstringrequired
presignedbooleanrequired
seqintegerrequired
urlstringrequired
windowintegerrequired
Browser tab (window) of the chunk, 0 for the first; each window is played on its own.
window_idstringrequired
SDK window id of the tab the chunk was recorded in; empty for chunks stored before it was indexed.
commentsarrayrequired
Absent on the public share view.
external_markersExternalMarkerView[]required
Show child parameters
kindstringrequired
offset_msintegerrequired
sourcestringrequired
titlestringrequired
tsstringrequired
urlstringrequired
markersEventMarkerView[]required
Show child parameters
eventstringrequired
flagstringrequired
kindstringrequired
autocapture | navigation | signal | flag | survey | form | system | custom
offset_msintegerrequired
pathstringrequired
propertiesobjectrequired
Event properties; null for roles without PII access.
selectorstringrequired
tsstringrequired
replayobjectrequired
Replay metadata (ReplayMeta::view).
Show child parameters
active_msintegerrequired
chunk_countintegerrequired
click_countintegerrequired
distinct_idstringrequired
Pseudonymised (anon-xxxxxxxx) for roles without PII access.
duration_sintegerrequired
ended_atstringrequired
first_urlstringrequired
keypress_countintegerrequired
Key presses counted by the browser SDK (none in password, masked or blocked fields); for older SDKs, input events (one per field change).
legal_holdbooleanrequired
person_idstringrequired
retention_untilstringrequired
session_idstringrequired
size_bytesintegerrequired
started_atstringrequired
urlsstring[]required
tagsarray
Manual tags (absent on the public share view).
watchtower_issuesarray
Watchtower 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
DELETEhttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}

Parameters

project_idstringpathrequired
session_idstringpathrequired

Code 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
PATCHhttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}Scope replay:write

Parameters

project_idstringpathrequired
session_idstringpathrequired

Request body

application/json

Replay changes; every field is optional, at least one is required.

retention_untilstring
When the retention sweeper deletes this replay (future, at most 5 years out).
tagsarray
Replaces the manual tags (1 to 40 characters each, at most 20; trimmed, lower-cased).
viewedboolean
Watched (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 key
403
404

Updated