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/{session_id}/transcriptScope replay:read

Parameters

project_idstringpathrequired
session_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/transcript"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "duration_ms": 0,
  "lines": [
    {
      "kind": "string",
      "t_ms": 0,
      "text": "string"
    }
  ],
  "session_id": "string"
}
Schema
duration_msintegerrequired
linesTranscriptLine[]required
Show child parameters
kindstringrequired
page | click | input | scroll | signal | event | marker | idle
t_msintegerrequired
textstringrequired
session_idstringrequired
403
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/sensitive-keysScope settings:read

Parameters

project_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/sensitive-keys"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 {data: [key]} newest first, public halves only
404
POSThttps://lucidace.com/v1/projects/{project_id}/sensitive-keysScope admin

Generate a key pair and make it the one SDKs encrypt to (admins). Older keys stay usable for reveals until destroyed.

Parameters

project_idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/sensitive-keys"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201 {kid, replay_exposure_key}
403
404
DELETEhttps://lucidace.com/v1/projects/{project_id}/sensitive-keys/{kid}Scope admin

Destroy a private key (crypto-shredding). If it was the active key, SDKs stop capturing.

Parameters

project_idstringpathrequired
kidstringpathrequired

Code samples

cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/sensitive-keys/{kid}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
403
404
GEThttps://lucidace.com/v1/public/replay-playlists/{token}

Parameters

tokenstringpathrequired
grantstringquery
limitintegerquery
cursorstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/public/replay-playlists/{token}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 {name, pinned, data, next_cursor}; no person data
400
403
404
GEThttps://lucidace.com/v1/public/replay-playlists/{token}/replays/{session_id}

Parameters

tokenstringpathrequired
session_idstringpathrequired
grantstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/public/replay-playlists/{token}/replays/{session_id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 ReplayDetail without person data or comments
403
404
410
GEThttps://lucidace.com/v1/public/replay-playlists/{token}/replays/{session_id}/chunks/{seq}

Parameters

tokenstringpathrequired
session_idstringpathrequired
seqintegerpathrequired
grantstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/public/replay-playlists/{token}/replays/{session_id}/chunks/{seq}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 gzip chunk bytes
403
404
410
GEThttps://lucidace.com/v1/public/replays/{token}

Parameters

tokenstringpathrequired
grantstringquery
unlock grant of a password-protected share

Code samples

cURL
curl -X GET "https://lucidace.com/v1/public/replays/{token}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 no person data, no event properties, no comments
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 password required
404
GEThttps://lucidace.com/v1/public/replays/{token}/chunks/{seq}

Parameters

tokenstringpathrequired
seqintegerpathrequired
grantstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/public/replays/{token}/chunks/{seq}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 gzip chunk bytes
403
404
Updated