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

Parameters

project_idstringpathrequired
session_idstringpathrequired

Request body

application/json

An issue to file from the replay. at_ms makes the link open the replay at that moment.

at_msinteger
bodystring
connection_idstringrequired
titlestringrequired
{
  "at_ms": 0,
  "body": "string",
  "connection_id": "string",
  "title": "string"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/issues" \
  -H "Content-Type: application/json" \
  -d '{"at_ms":0,"body":"string","connection_id":"string","title":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201
Example
{
  "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"
}
Schema
at_msinteger
Replay timestamp the issue links to, ms.
connection_idstring
created_atstringrequired
created_bystring
external_idstringrequired
external_keystringrequired
Human key: ENG-12, owner/repo#7, PROJ-3, #4.
idstringrequired
providerstringrequired
session_idstringrequired
titlestringrequired
urlstringrequired
400
403
404
422 The tracker refused or failed
POSThttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/momentsScope replay:write

Parameters

project_idstringpathrequired
session_idstringpathrequired

Request body

application/json
end_msintegerrequired
Exclusive end, ms; after start_ms and at most a day later.
notestring
playlist_idstring
File the moment in this playlist (collection) of the project.
start_msintegerrequired
Offset into the recording, ms.
titlestringrequired
{
  "end_ms": 0,
  "note": "string",
  "playlist_id": "string",
  "start_ms": 0,
  "title": "string"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/moments" \
  -H "Content-Type: application/json" \
  -d '{"end_ms":0,"note":"string","playlist_id":"string","start_ms":0,"title":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201
Example
{
  "created_at": "2024-01-01T00:00:00Z",
  "created_by": "string",
  "end_ms": 0,
  "id": "string",
  "note": "string",
  "playlist_id": "string",
  "session_id": "string",
  "start_ms": 0,
  "title": "string",
  "updated_at": "2024-01-01T00:00:00Z"
}
Schema
created_atstringrequired
created_bystring
end_msintegerrequired
idstringrequired
notestringrequired
playlist_idstring
session_idstringrequired
start_msintegerrequired
Offset into the recording, ms.
titlestringrequired
updated_atstringrequired
400
403
404 Unknown project or playlist
GEThttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/sensitiveScope replay:read

Parameters

project_idstringpathrequired
session_idstringpathrequired

Code samples

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

Responses

200 {data: [SensitiveCapture]}: field names and offsets, never values
404
POSThttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/sensitive/revealScope admin

Decrypt one captured value. Needs replay admin and `pii:read`; every reveal is audited with its reason, and the response is never cached.

Parameters

project_idstringpathrequired
session_idstringpathrequired

Request body

application/json
reasonstringrequired
Why the value is needed (10 to 500 characters); kept in the audit log.
uuidstringrequired
The capture's event uuid.
{
  "reason": "string",
  "uuid": "string"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/sensitive/reveal" \
  -H "Content-Type: application/json" \
  -d '{"reason":"string","uuid":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "field": "string",
  "truncated": true,
  "value": "string"
}
Schema
fieldstringrequired
truncatedbooleanrequired
valuestringrequired
400
403
404
410 the key was destroyed
GEThttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/sharesScope replay:read

Parameters

project_idstringpathrequired
session_idstringpathrequired

Code samples

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

Responses

200 Page of Share, newest first
Example
{
  "data": [
    {
      "allowed_origins": [
        "string"
      ],
      "created_at": "2024-01-01T00:00:00Z",
      "expires_at": "2024-01-01T00:00:00Z",
      "id": "string",
      "options": {},
      "password_protected": true,
      "resource_id": "string",
      "resource_type": "string",
      "revoked_at": "2024-01-01T00:00:00Z"
    }
  ],
  "next_cursor": "string"
}
Schema
dataShare[]required
Show child parameters
allowed_originsstring[]required
Origins allowed to frame the embed (empty: any).
created_atstringrequired
expires_atstring
idstringrequired
optionsobjectrequired
{hide_branding?, hide_legend?, theme?: light|dark|system}.
password_protectedbooleanrequired
Viewers must enter a password first.
resource_idstringrequired
resource_typestringrequired
revoked_atstring
next_cursorstring
404
POSThttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/sharesScope replay:write

Parameters

project_idstringpathrequired
session_idstringpathrequired

Request body

application/json
allowed_originsstring[]
Embeds only: origins (https://app.example.com) allowed to frame the view; empty allows any.
expires_in_daysinteger
Lifetime in days (default 7, at most 90).
never_expiresboolean
No expiry at all; needs the org setting permanent_shares (403 otherwise).
optionsobject
Display options of the public view and embed.
Show child parameters
hide_brandingboolean
Leave out the Lucida branding.
hide_legendboolean
Leave out chart legends.
lock_filtersobject
Property group ({"and": [...]}, may hold a cohort filter) ANDed into every query the public view runs; viewers cannot remove it.
show_queriesboolean
Notebooks only: show the text of query blocks (hidden by default, queries can name people).
show_recordingsboolean
Notebooks only, project admins only (G146): replay and playlist blocks play in the shared view (masked at capture, no person ids, no comments). Withheld by default.
show_rowsboolean
Notebooks only, project admins only (G146): people, event, group and cohort lists share their rows (the block's chosen property columns; identities and email-like columns are always dropped) instead of per-day counts. Off by default.
themestring
light, dark or system (the default).
viewer_filtersboolean
Viewers may add their own event, person or session property filters (?filters=), applied on top of the lock.
passwordstring
Viewers must enter this password (8 to 200 characters); stored only as an argon2id hash.
{
  "allowed_origins": [
    "string"
  ],
  "expires_in_days": 0,
  "never_expires": true,
  "options": {
    "hide_branding": true,
    "hide_legend": true,
    "lock_filters": {},
    "show_queries": true,
    "show_recordings": true,
    "show_rows": true,
    "theme": "string",
    "viewer_filters": true
  },
  "password": "string"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/shares" \
  -H "Content-Type: application/json" \
  -d '{"allowed_origins":["string"],"expires_in_days":0,"never_expires":true,"options":{"hide_branding":true,"hide_legend":true,"lock_filters":{},"show_queries":true,"show_recordings":true,"show_rows":true,"theme":"string","viewer_filters":true},"password":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201
Example
{
  "allowed_origins": [
    "string"
  ],
  "created_at": "2024-01-01T00:00:00Z",
  "expires_at": "2024-01-01T00:00:00Z",
  "id": "string",
  "options": {},
  "password_protected": true,
  "resource_id": "string",
  "resource_type": "string",
  "revoked_at": "2024-01-01T00:00:00Z",
  "token": "string",
  "url": "string"
}
Schema
allowed_originsstring[]required
Origins allowed to frame the embed (empty: any).
created_atstringrequired
expires_atstring
idstringrequired
optionsobjectrequired
{hide_branding?, hide_legend?, theme?: light|dark|system}.
password_protectedbooleanrequired
Viewers must enter a password first.
resource_idstringrequired
resource_typestringrequired
revoked_atstring
tokenstringrequired
Shown once; only its hash is stored.
urlstring
The public page, absolute from LC_PUBLIC_URL (/share/<kind>/<token>).
400
403
404
DELETEhttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/shares/{id}Scope replay:write

Parameters

project_idstringpathrequired
session_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

204
403
404
GEThttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/snapshotsScope replay:read

Parameters

project_idstringpathrequired
session_idstringpathrequired
from_msintegerpathrequired
Offset from the first event, ms (default 0).
to_msintegerpathrequired
Offset from the first event, ms, exclusive (default: the end).

Code samples

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

Responses

200
Example
{
  "events": [
    {}
  ],
  "from_ms": 0,
  "next_from_ms": 0,
  "session_id": "string",
  "to_ms": 0
}
Schema
eventsobject[]required
from_msintegerrequired
next_from_msintegerrequired
session_idstringrequired
to_msinteger
400
404
410

Updated