live

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-live"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/12a22a5d-1ac9-47ea-9f50-386acacdace5/social-card.svg?v=3e7ae33eec8b" alt="live" width="600" height="315"></a>
GEThttps://lucidace.com/v1/projects/{project_id}/live/visitorsScope insight:read

Parameters

project_idstringpathrequired

Code 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
countintegerrequired
dataLiveVisitor[]required
Show child parameters
countrystringrequired
devicestringrequired
distinct_idstringrequired
eventsintegerrequired
first_seen_msintegerrequired
last_seen_msintegerrequired
session_idstringrequired
urlstringrequired
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/live/visitors/streamScope insight:read

Parameters

project_idstringpathrequired

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

Parameters

project_idstringpathrequired
session_idstringpathrequired
afterintegerquery

Code 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[]required
Chunks with seq greater than after, in order.
livebooleanrequired
False once the session has been quiet for 5 minutes.
403
404
503
Updated