replays
GET
https://lucidace.com /v1/projects/{project_id}/replay-playlists/{id} Scope replay:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"created_at": "2024-01-01T00:00:00Z",
"created_by": "string",
"filters": {},
"id": "string",
"name": "string",
"pinned": [
"string"
],
"smart": {},
"updated_at": "2024-01-01T00:00:00Z"
}Schema
created_atstringrequiredcreated_bystringfiltersobjectrequiredidstringrequirednamestringrequiredpinnedstring[]requiredsmartobjectSmart auto-playlist definition
{kind, window_days, threshold}; filters is empty then.updated_atstringrequired404
DELETE
https://lucidace.com /v1/projects/{project_id}/replay-playlists/{id} Scope replay:writeParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
PATCH
https://lucidace.com /v1/projects/{project_id}/replay-playlists/{id} Scope replay:writeParameters
project_idstringpathrequiredidstringpathrequiredRequest body
application/json
filtersobjectnamestringpinnedarray{
"filters": {},
"name": "string",
"pinned": [
"string"
]
}Code samples
cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}" \
-H "Content-Type: application/json" \
-d '{"filters":{},"name":"string","pinned":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
GET
https://lucidace.com /v1/projects/{project_id}/replay-playlists/{id}/pinned Scope replay:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}/pinned"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 replay views in pin order; pinned sessions that no longer exist are skipped
Example
{
"data": [
{
"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"
]
}
],
"next_cursor": "string"
}Schema
dataobject[]requiredShow 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[]requirednext_cursorstring404
PUT
https://lucidace.com /v1/projects/{project_id}/replay-playlists/{id}/pinned/{session_id} Scope replay:writeParameters
project_idstringpathrequiredidstringpathrequiredsession_idstringpathrequiredCode samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}/pinned/{session_id}"TypeScript
Python
Go
PHP
Ruby
Java
DELETE
https://lucidace.com /v1/projects/{project_id}/replay-playlists/{id}/pinned/{session_id} Scope replay:writeParameters
project_idstringpathrequiredidstringpathrequiredsession_idstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}/pinned/{session_id}"TypeScript
Python
Go
PHP
Ruby
Java
GET
https://lucidace.com /v1/projects/{project_id}/replay-playlists/{id}/sessions Scope replay:readSessions matching the playlist now, in the order of its search; `next_cursor` pages on.
Parameters
project_idstringpathrequiredidstringpathrequiredlimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}/sessions"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"data": [
{
"active_ms": 0,
"ai_tags": [
"string"
],
"chunk_count": 0,
"click_count": 0,
"console_error_count": 0,
"distinct_id": "string",
"duration_s": 0,
"ended_at": "string",
"first_url": "string",
"frustration_count": 0,
"has_console_error": true,
"has_network_5xx": true,
"keypress_count": 0,
"legal_hold": true,
"network_error_count": 0,
"person_id": "string",
"retention_until": "string",
"session_id": "string",
"size_bytes": 0,
"started_at": "string",
"tags": [
"string"
],
"urls": [
"string"
],
"viewed": true
}
],
"next_cursor": "string"
}Schema
dataobject[]requiredShow child parameters
active_msintegerrequiredai_tagsstring[]requiredchunk_countintegerrequiredclick_countintegerrequiredconsole_error_countintegerConsole
error entries (incl. uncaught errors) in the recording's replay context.distinct_idstringrequiredduration_sintegerrequiredended_atstringrequiredfirst_urlstringrequiredfrustration_countintegerrequiredhas_console_errorbooleanhas_network_5xxbooleanAt least one request answered with a 5xx status.
keypress_countintegerrequiredKey presses counted by the browser SDK (none in password, masked or blocked fields); for older SDKs, input events (one per field change).
legal_holdbooleanrequirednetwork_error_countintegerNetwork requests that failed (status >= 400 or no response).
person_idstringrequiredretention_untilstringrequiredWhen the retention sweeper deletes it (legal hold keeps it).
session_idstringrequiredsize_bytesintegerrequiredstarted_atstringrequiredtagsstring[]Manual tags (
PATCH /replays/{id}; replays/search only).urlsstring[]requiredviewedbooleanWatched by the caller (
replays/search only).next_cursorstring400
404
503
GET
https://lucidace.com /v1/projects/{project_id}/replay-playlists/{id}/shares Scope replay:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}/shares"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 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
dataobject[]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
Updated