---
title: "Get live user counts per script"
method: GET
path: "/live-users"
tags: ["Live Users"]
---

# Get live user counts per script

`GET /live-users`

Returns active session counts grouped by script ID for all scripts owned by the authenticated user.

## Response `200`

Live user counts

- object
  - `counts` object — Map of scriptId → active session count
  - `total` integer — Total active sessions across all scripts

## Other responses

- `401` — Unauthorized
- `429` — Rate limit exceeded
- `502` — Heartbeat service unavailable

---

[API](https://skmtc.net/jnkie/apis/junkie-key-system-rest-api-v2.md) · [All operations](https://skmtc.net/jnkie/apis/junkie-key-system-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jnkie/junkie-key-system-rest-api-v2/revisions/1ff91682e5d9/schema)
