---
title: "GET /analytics/has-events"
method: GET
path: "/analytics/has-events"
tags: ["Analytics"]
---

# GET /analytics/has-events

`GET /analytics/has-events`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/analytics/has-events`
- Auth: HTTP bearer

## Query parameters

- `project_id` integer, required
- `environment_id` integer

## Response `200`

Analytics events existence check

- HasAnalyticsEventsResponse
  - `has_events` boolean, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `404`: Project not found
- `500`: Internal server error

## Changes

- **2026-07-27** `1b060c0a4ba3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/analytics/has-events/get.md)

---

[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)
