replays
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/ai Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/ai"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 the stored AI summary document
Example
{
"created_at": "string",
"friction": [
{
"description": "string",
"severity": "string",
"t_ms": 0
}
],
"intent": "string",
"key_moments": [
{
"label": "string",
"t_ms": 0
}
],
"model": "string",
"outcome": "string",
"session_id": "string",
"summary": "string",
"tags": [
"string"
]
}Schema
created_atstringrequiredfrictionAiFriction[]requiredShow child parameters
descriptionstringrequiredseveritystringrequiredlow | medium | high
t_msintegerrequiredintentstringrequiredkey_momentsAiMoment[]requiredShow child parameters
labelstringrequiredt_msintegerrequiredmodelstringrequiredoutcomestringrequiredsession_idstringrequiredsummarystringrequiredtagsstring[]required404 no summary stored
PUT
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/ai Scope replay:writeParameters
project_idstringpathrequiredsession_idstringpathrequiredRequest body
application/json
{}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/ai" \
-H "Content-Type: application/json" \
-d '{}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
400
403
404
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/chunk_index Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredfrom_msintegerqueryto_msintegerqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/chunk_index"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Chunks in order, from the index the worker writes; replays recorded before the index existed list none
Example
{
"data": [
{
"click_count": 0,
"end_ms": 0,
"event_count": 0,
"has_snapshot": true,
"input_count": 0,
"sealed": true,
"seq": 0,
"size_bytes": 0,
"start_ms": 0
}
]
}Schema
dataChunkMeta[]requiredShow child parameters
click_countintegerrequiredend_msintegerrequiredevent_countintegerrequiredhas_snapshotbooleanrequiredThe chunk holds a full snapshot: playback can start here.
input_countintegerrequiredsealedbooleanrequiredStored under the session's data key.
seqintegerrequiredsize_bytesintegerrequiredstart_msintegerrequiredRecorded time range of the chunk (epoch ms).
404
503
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/chunks/{seq} Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredseqintegerpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/chunks/{seq}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 gzip chunk bytes
404
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/comments Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/comments"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Array of ReplayComment in playhead order
Example
[
{
"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"
}
]Schema
assignee_idstringat_msintegerrequiredOffset into the recording, in ms.
bodystringrequiredcreated_atstringrequiredcreated_bystringidstringrequiredis_taskbooleanrequiredA task: someone should act on it; done when
resolved_at is set.point_nodeintegerRecorded DOM node (rrweb mirror id) the point is anchored to, and the point inside its box (fractions 0..1): the player follows the node when the page reflows (G240).
point_node_xnumberpoint_node_ynumberpoint_xnumberPoint on the frame the comment is pinned to, as fractions of the viewport (0..1).
point_ynumberresolved_atstringsession_idstringrequired404
POST
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/comments Scope replay:writeParameters
project_idstringpathrequiredsession_idstringpathrequiredRequest body
application/json
assignee_idstringMember the task is assigned to.
at_msintegerrequiredOffset into the recording, ms.
bodystringrequiredis_taskbooleanMake the comment a task.
point_nodeintegerRecorded DOM node (rrweb id) under the point and the point inside its box (0..1); all or none.
point_node_xnumberpoint_node_ynumberpoint_xnumberPoint on the frame (fractions of the viewport, 0..1); both or neither.
point_ynumber{
"assignee_id": "string",
"at_ms": 0,
"body": "string",
"is_task": true,
"point_node": 0,
"point_node_x": 0,
"point_node_y": 0,
"point_x": 0,
"point_y": 0
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/comments" \
-H "Content-Type: application/json" \
-d '{"assignee_id":"string","at_ms":0,"body":"string","is_task":true,"point_node":0,"point_node_x":0,"point_node_y":0,"point_x":0,"point_y":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201
Example
{
"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"
}Schema
assignee_idstringat_msintegerrequiredOffset into the recording, in ms.
bodystringrequiredcreated_atstringrequiredcreated_bystringidstringrequiredis_taskbooleanrequiredA task: someone should act on it; done when
resolved_at is set.point_nodeintegerRecorded DOM node (rrweb mirror id) the point is anchored to, and the point inside its box (fractions 0..1): the player follows the node when the page reflows (G240).
point_node_xnumberpoint_node_ynumberpoint_xnumberPoint on the frame the comment is pinned to, as fractions of the viewport (0..1).
point_ynumberresolved_atstringsession_idstringrequired400
403
404
DELETE
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/comments/{id} Scope replay:writeParameters
project_idstringpathrequiredsession_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/comments/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
PATCH
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/comments/{id} Scope replay:writeParameters
project_idstringpathrequiredsession_idstringpathrequiredidstringpathrequiredRequest body
application/json
assignee_idstringA member's user id;
null unassigns.at_msintegerbodystringdonebooleanMark the task done (sets
resolved_at) or reopen it.is_taskboolean{
"assignee_id": "string",
"at_ms": 0,
"body": "string",
"done": true,
"is_task": true
}Code samples
cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/comments/{id}" \
-H "Content-Type: application/json" \
-d '{"assignee_id":"string","at_ms":0,"body":"string","done":true,"is_task":true}'TypeScript
Python
Go
PHP
Ruby
Java
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/evidence Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/evidence"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
data: the recording's signed exports, newest first{}404
Updated