Analytics
Get list of currently live visitors from visitor table
Changed onget/analytics/live-visitors
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Query parameters
project_idinteger required
Project ID
environment_idinteger
Environment ID (optional)
window_minutesinteger
Time window in minutes for live visitors (default: 5)
Response
Successfully retrieved live visitors list
Example response
{
"visitors": [
{
"first_seen": "2024-01-01T00:00:00",
"last_seen": "2024-01-01T00:00:00"
}
]
}Changes
- breaking
the response property
visitors/items/environment_idbecame nullable for the status - breaking
the response property
visitors/items/environment_idbecame optional for the status
- breaking
- info
added the optional property
visitors/items/current_pageto the response with the status
3 more changes in this revision
- info