replays
POST
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/issues Scope replay:writeParameters
project_idstringpathrequiredsession_idstringpathrequiredRequest body
application/json
An issue to file from the replay. at_ms makes the link open the replay at that moment.
at_msintegerbodystringconnection_idstringrequiredtitlestringrequired{
"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_msintegerReplay timestamp the issue links to, ms.
connection_idstringcreated_atstringrequiredcreated_bystringexternal_idstringrequiredexternal_keystringrequiredHuman key:
ENG-12, owner/repo#7, PROJ-3, #4.idstringrequiredproviderstringrequiredsession_idstringrequiredtitlestringrequiredurlstringrequired400
403
404
422 The tracker refused or failed
POST
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/moments Scope replay:writeParameters
project_idstringpathrequiredsession_idstringpathrequiredRequest body
application/json
end_msintegerrequiredExclusive end, ms; after
start_ms and at most a day later.notestringplaylist_idstringFile the moment in this playlist (collection) of the project.
start_msintegerrequiredOffset 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_atstringrequiredcreated_bystringend_msintegerrequiredidstringrequirednotestringrequiredplaylist_idstringsession_idstringrequiredstart_msintegerrequiredOffset into the recording, ms.
titlestringrequiredupdated_atstringrequired400
403
404 Unknown project or playlist
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/sensitive Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredCode 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 values404
POST
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/sensitive/reveal Scope adminDecrypt one captured value. Needs replay admin and `pii:read`; every reveal is audited with its reason, and the response is never cached.
Parameters
project_idstringpathrequiredsession_idstringpathrequiredRequest body
application/json
reasonstringrequiredWhy the value is needed (10 to 500 characters); kept in the audit log.
uuidstringrequiredThe 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
fieldstringrequiredtruncatedbooleanrequiredvaluestringrequired400
403
404
410 the key was destroyed
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/shares Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredCode 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[]requiredShow child parameters
allowed_originsstring[]requiredOrigins allowed to frame the embed (empty: any).
created_atstringrequiredexpires_atstringidstringrequiredoptionsobjectrequired{hide_branding?, hide_legend?, theme?: light|dark|system}.password_protectedbooleanrequiredViewers must enter a password first.
resource_idstringrequiredresource_typestringrequiredrevoked_atstringnext_cursorstring404
POST
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/shares Scope replay:writeParameters
project_idstringpathrequiredsession_idstringpathrequiredRequest body
application/json
allowed_originsstring[]Embeds only: origins (
https://app.example.com) allowed to frame the view; empty allows any.expires_in_daysintegerLifetime in days (default 7, at most 90).
never_expiresbooleanNo expiry at all; needs the org setting
permanent_shares (403 otherwise).optionsobjectDisplay options of the public view and embed.
Show child parameters
hide_brandingbooleanLeave out the Lucida branding.
hide_legendbooleanLeave out chart legends.
lock_filtersobjectProperty group (
{"and": [...]}, may hold a cohort filter) ANDed into every query the public view runs; viewers cannot remove it.show_queriesbooleanNotebooks only: show the text of query blocks (hidden by default, queries can name people).
show_recordingsbooleanNotebooks 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_rowsbooleanNotebooks 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.
themestringlight, dark or system (the default).viewer_filtersbooleanViewers may add their own event, person or session property filters (
?filters=), applied on top of the lock.passwordstringViewers 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[]requiredOrigins allowed to frame the embed (empty: any).
created_atstringrequiredexpires_atstringidstringrequiredoptionsobjectrequired{hide_branding?, hide_legend?, theme?: light|dark|system}.password_protectedbooleanrequiredViewers must enter a password first.
resource_idstringrequiredresource_typestringrequiredrevoked_atstringtokenstringrequiredShown once; only its hash is stored.
urlstringThe public page, absolute from
LC_PUBLIC_URL (/share/<kind>/<token>).400
403
404
DELETE
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/shares/{id} Scope replay:writeParameters
project_idstringpathrequiredsession_idstringpathrequiredidstringpathrequiredCode 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
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/snapshots Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredfrom_msintegerpathrequiredOffset from the first event, ms (default 0).
to_msintegerpathrequiredOffset 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[]requiredfrom_msintegerrequirednext_from_msintegerrequiredsession_idstringrequiredto_msinteger400
404
410
Updated