---
title: "Get active visitors count"
method: GET
path: "/projects/{project_id}/active-visitors"
tags: ["Events"]
---

# Get active visitors count

`GET /projects/{project_id}/active-visitors`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/active-visitors`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required

## Query parameters

- `environment_id` integer
- `deployment_id` integer

## Response `200`

Successfully retrieved active visitors count

- ActiveVisitorCountResponse
  - `active_visitors` integer, required
  - `window_minutes` integer, required

## Other responses

- `401`: Unauthorized
- `500`: Internal server error

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
