---
title: "List analytics event names"
method: GET
path: "/api/apps/{app_id}/analytics/names"
---

# List analytics event names

`GET /api/apps/{app_id}/analytics/names`

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Returns the names of the analytics events the app has tracked, most frequent first, with how many times each one was recorded.

Use this to discover what an app tracks before you query it. Pass a `name` from the response as the `event_name` to [Query analytics events](/api-reference/query-analytics-events), [Aggregate analytics events over time](/api-reference/aggregate-analytics-events-over-time), or [List analytics event properties](/api-reference/list-analytics-event-properties).

Base44 keeps analytics events for 60 days, so counts cover the last 60 days and an event the app stopped sending before that no longer appears. The response returns at most the 1000 most frequent names.

<Note>Events are written asynchronously, so an event the app tracked in the last few seconds can be missing from the response.</Note>

## Path parameters

- `app_id` string, required — ID of the app whose analytics to read.

## Response `200`

The app's tracked event names.

- EventNamesResponse — Response for event names discovery.
  - `event_names` EventNameInfo[] — The app's event names, most frequent first.
    - `name` string, required — Name of the event, as the app tracked it.
    - `count` integer, required — Number of times the event was recorded across the retained history.

## Other responses

- `401` — Missing or invalid credentials.
- `403` — You don't have access to this app.
- `404` — App not found.
- `422` — Validation Error

---

[API](https://skmtc.dev/idealspot/apis/base44-app-management-api.md) · [All operations](https://skmtc.dev/idealspot/apis/base44-app-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/idealspot/base44-app-management-api/revisions/31ef75eb64ab/schema)
