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}/replay-playlists/{id}Scope replay:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code 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_atstringrequired
created_bystring
filtersobjectrequired
idstringrequired
namestringrequired
pinnedstring[]required
smartobject
Smart auto-playlist definition {kind, window_days, threshold}; filters is empty then.
updated_atstringrequired
404
DELETEhttps://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}Scope replay:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code 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
PATCHhttps://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}Scope replay:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
filtersobject
namestring
pinnedarray
{
  "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

Responses

400
403
404
GEThttps://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}/pinnedScope replay:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code 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[]required
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
next_cursorstring
404
PUThttps://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}/pinned/{session_id}Scope replay:write

Parameters

project_idstringpathrequired
idstringpathrequired
session_idstringpathrequired

Code samples

cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}/pinned/{session_id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

400
403
404
DELETEhttps://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}/pinned/{session_id}Scope replay:write

Parameters

project_idstringpathrequired
idstringpathrequired
session_idstringpathrequired

Code samples

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

Responses

403
404
GEThttps://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}/sessionsScope replay:read

Sessions matching the playlist now, in the order of its search; `next_cursor` pages on.

Parameters

project_idstringpathrequired
idstringpathrequired
limitintegerquery
cursorstringquery

Code 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[]required
Show child parameters
active_msintegerrequired
ai_tagsstring[]required
chunk_countintegerrequired
click_countintegerrequired
console_error_countinteger
Console error entries (incl. uncaught errors) in the recording's replay context.
distinct_idstringrequired
duration_sintegerrequired
ended_atstringrequired
first_urlstringrequired
frustration_countintegerrequired
has_console_errorboolean
has_network_5xxboolean
At least one request answered with a 5xx status.
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
network_error_countinteger
Network requests that failed (status >= 400 or no response).
person_idstringrequired
retention_untilstringrequired
When the retention sweeper deletes it (legal hold keeps it).
session_idstringrequired
size_bytesintegerrequired
started_atstringrequired
tagsstring[]
Manual tags (PATCH /replays/{id}; replays/search only).
urlsstring[]required
viewedboolean
Watched by the caller (replays/search only).
next_cursorstring
400
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/replay-playlists/{id}/sharesScope replay:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code 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[]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

Updated