replays
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/transcript Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredCode 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_msintegerrequiredlinesTranscriptLine[]requiredShow child parameters
kindstringrequiredpage | click | input | scroll | signal | event | marker | idle
t_msintegerrequiredtextstringrequiredsession_idstringrequired403
404
503
GET
https://lucidace.com /v1/projects/{project_id}/sensitive-keys Scope settings:readParameters
project_idstringpathrequiredCode 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 only404
POST
https://lucidace.com /v1/projects/{project_id}/sensitive-keys Scope adminGenerate a key pair and make it the one SDKs encrypt to (admins). Older keys stay usable for reveals until destroyed.
Parameters
project_idstringpathrequiredCode 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
DELETE
https://lucidace.com /v1/projects/{project_id}/sensitive-keys/{kid} Scope adminDestroy a private key (crypto-shredding). If it was the active key, SDKs stop capturing.
Parameters
project_idstringpathrequiredkidstringpathrequiredCode 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
GET
https://lucidace.com /v1/public/replay-playlists/{token} Parameters
tokenstringpathrequiredgrantstringquerylimitintegerquerycursorstringqueryCode 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
GET
https://lucidace.com /v1/public/replay-playlists/{token}/replays/{session_id} Parameters
tokenstringpathrequiredsession_idstringpathrequiredgrantstringqueryCode 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
GET
https://lucidace.com /v1/public/replay-playlists/{token}/replays/{session_id}/chunks/{seq} Parameters
tokenstringpathrequiredsession_idstringpathrequiredseqintegerpathrequiredgrantstringqueryCode 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
GET
https://lucidace.com /v1/public/replays/{token} Parameters
tokenstringpathrequiredgrantstringqueryunlock 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[]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 password required
404
GET
https://lucidace.com /v1/public/replays/{token}/chunks/{seq} Parameters
tokenstringpathrequiredseqintegerpathrequiredgrantstringqueryCode 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