---
title: "Get unique counts over time frame"
method: GET
path: "/projects/{project_id}/unique-counts"
tags: ["Events"]
---

# Get unique counts over time frame

`GET /projects/{project_id}/unique-counts`

## 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}/unique-counts`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required

## Query parameters

- `start_date` string, required
- `end_date` string, required
- `environment_id` integer
- `deployment_id` integer
- `metric` string, required

## Response `200`

Successfully retrieved count

- UniqueCountsResponse
  - `count` integer, required

## Other responses

- `400`: Bad request
- `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)
