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}/replays/{session_id}/aiScope replay:read

Parameters

project_idstringpathrequired
session_idstringpathrequired

Code 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_atstringrequired
frictionAiFriction[]required
Show child parameters
descriptionstringrequired
severitystringrequired
low | medium | high
t_msintegerrequired
intentstringrequired
key_momentsAiMoment[]required
Show child parameters
labelstringrequired
t_msintegerrequired
modelstringrequired
outcomestringrequired
session_idstringrequired
summarystringrequired
tagsstring[]required
404 no summary stored
PUThttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/aiScope replay:write

Parameters

project_idstringpathrequired
session_idstringpathrequired

Request 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
GEThttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/chunk_indexScope replay:read

Parameters

project_idstringpathrequired
session_idstringpathrequired
from_msintegerquery
to_msintegerquery

Code 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[]required
Show child parameters
click_countintegerrequired
end_msintegerrequired
event_countintegerrequired
has_snapshotbooleanrequired
The chunk holds a full snapshot: playback can start here.
input_countintegerrequired
sealedbooleanrequired
Stored under the session's data key.
seqintegerrequired
size_bytesintegerrequired
start_msintegerrequired
Recorded time range of the chunk (epoch ms).
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/chunks/{seq}Scope replay:read

Parameters

project_idstringpathrequired
session_idstringpathrequired
seqintegerpathrequired

Code 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
GEThttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/commentsScope replay:read

Parameters

project_idstringpathrequired
session_idstringpathrequired

Code 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_idstring
at_msintegerrequired
Offset into the recording, in ms.
bodystringrequired
created_atstringrequired
created_bystring
idstringrequired
is_taskbooleanrequired
A task: someone should act on it; done when resolved_at is set.
point_nodeinteger
Recorded 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_xnumber
point_node_ynumber
point_xnumber
Point on the frame the comment is pinned to, as fractions of the viewport (0..1).
point_ynumber
resolved_atstring
session_idstringrequired
404
POSThttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/commentsScope replay:write

Parameters

project_idstringpathrequired
session_idstringpathrequired

Request body

application/json
assignee_idstring
Member the task is assigned to.
at_msintegerrequired
Offset into the recording, ms.
bodystringrequired
is_taskboolean
Make the comment a task.
point_nodeinteger
Recorded DOM node (rrweb id) under the point and the point inside its box (0..1); all or none.
point_node_xnumber
point_node_ynumber
point_xnumber
Point 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_idstring
at_msintegerrequired
Offset into the recording, in ms.
bodystringrequired
created_atstringrequired
created_bystring
idstringrequired
is_taskbooleanrequired
A task: someone should act on it; done when resolved_at is set.
point_nodeinteger
Recorded 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_xnumber
point_node_ynumber
point_xnumber
Point on the frame the comment is pinned to, as fractions of the viewport (0..1).
point_ynumber
resolved_atstring
session_idstringrequired
400
403
404
DELETEhttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/comments/{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}/comments/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
403
404
PATCHhttps://lucidace.com/v1/projects/{project_id}/replays/{session_id}/comments/{id}Scope replay:write

Parameters

project_idstringpathrequired
session_idstringpathrequired
idstringpathrequired

Request body

application/json
assignee_idstring
A member's user id; null unassigns.
at_msinteger
bodystring
doneboolean
Mark 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

Responses

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

Parameters

project_idstringpathrequired
session_idstringpathrequired

Code 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