---
title: "Check if project has any analytics events"
method: GET
path: "/projects/{project_id}/has-events"
tags: ["Events"]
---

# Check if project has any analytics events

`GET /projects/{project_id}/has-events`

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

## Path parameters

- `project_id` integer, required

## Response `200`

Successfully checked for events

- HasEventsResponse
  - `has_events` boolean, 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)
