Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

log/liveVisitors -> log/live-visitors

Blue Mousec485eaf897d9
diff --git a/docs/api/stats.md b/docs/api/stats.md
index 0b8819207..a464a1a97 100644
--- a/docs/api/stats.md
+++ b/docs/api/stats.md
@@ -564,12 +564,12 @@ curl 'https://api.swetrix.com/v1/log/captcha/birdseye?pids=["YOUR_PROJECT_ID"]&p
#### Parameters
Accepts the same parameters as the [`/log/birdseye` endpoint](#get-v1logbirdseye).
-### GET /v1/log/liveVisitors
+### GET /v1/log/live-visitors
This endpoint returns a list of currently active visitors on the specified project. The psid is a unique identifier for the session, which can be used to get more information about the session using the [`/log/session` endpoint](#get-v1logsession).
```bash
-curl 'https://api.swetrix.com/v1/log/liveVisitors?pid=YOUR_PROJECT_ID'\
+curl 'https://api.swetrix.com/v1/log/live-visitors?pid=YOUR_PROJECT_ID'\
-H "X-Api-Key: ${SWETRIX_API_KEY}"
```