---
title: "Suggest analytics events to track"
method: GET
path: "/api/apps/{app_id}/analytics/suggestions"
---

# Suggest analytics events to track

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

## Request

- Base URL: `https://app.base44.com`
- URL: `https://app.base44.com/api/apps/{app_id}/analytics/suggestions`
- Auth: HTTP bearer

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

Returns short prompts that suggest analytics events worth tracking in the app.

An AI model writes the prompts from the app's name, categories, description, and recent AI chat messages, so each call can return different ones.

The prompts are always in English, and you usually get four. If the model fails to produce them, you get a fixed set of general prompts instead, with a successful response. The call doesn't use the workspace's credits.

To have the AI add event tracking to the app, put `prefix` in front of a prompt and send it with [Send chat message](/api-reference/send-chat-message). Once the app is tracking events, read them with [List analytics event names](/api-reference/list-analytics-event-names).

## Path parameters

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

## Response `200`

Suggested prompts for the app.

- SuggestionsResponse
  - `suggestions` string[], required: Short prompts, each describing events worth tracking in this app. They don't include `prefix`.
  - `prefix` string, required: Text to put in front of each prompt before you send it to the app's AI chat.

## Other responses

- `401`: Missing or invalid credentials.
- `403`: You don't have editor access to this app, you used a read-only personal access token, or you used a workspace API key.
- `404`: App not found.
- `429`: Rate limit exceeded. The base limit is 30 requests per minute, shared by all of the workspace's apps and personal access tokens. See [Rate limits](/developers/references/apps-api/get-started/rate-limits) for the multiplier your plan gets.

## Changes

- **2026-10-11** `80287813ab84`: 1 info
  - the endpoint scheme security `PersonalAccessTokenAuth` was added to the API
- **2026-09-30** `63675fa5257c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/base44/apis/base44-app-management-api/changes/api/apps/:app_id/analytics/suggestions/get.md)

---

[API](https://skmtc.dev/base44/apis/base44-app-management-api.md) - [All operations](https://skmtc.dev/base44/apis/base44-app-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/base44/apis/base44-app-management-api/revisions/c534f09cf314?raw)
