live
GET
https://lucidace.com /v1/projects/{project_id}/live/visitors Scope insight:readParameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/live/visitors"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 sessions active in the last 5 minutes, newest first; cached 2 s
Example
{
"count": 0,
"data": [
{
"country": "string",
"device": "string",
"distinct_id": "string",
"events": 0,
"first_seen_ms": 0,
"last_seen_ms": 0,
"session_id": "string",
"url": "string"
}
]
}Schema
countintegerrequireddataLiveVisitor[]requiredShow child parameters
countrystringrequireddevicestringrequireddistinct_idstringrequiredeventsintegerrequiredfirst_seen_msintegerrequiredlast_seen_msintegerrequiredsession_idstringrequiredurlstringrequired404
503
GET
https://lucidace.com /v1/projects/{project_id}/live/visitors/stream Scope insight:readParameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/live/visitors/stream"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 text/event-stream; a
visitors frame (LiveVisitors JSON) every 5 s404
503
GET
https://lucidace.com /v1/projects/{project_id}/replays/{session_id}/live Scope replay:readParameters
project_idstringpathrequiredsession_idstringpathrequiredafterintegerqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/replays/{session_id}/live"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"chunks": [
{}
],
"live": true
}Schema
chunksobject[]requiredChunks with
seq greater than after, in order.livebooleanrequiredFalse once the session has been quiet for 5 minutes.
403
404
503
Updated