---
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`

<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 them from the app's name, description, and recent AI chat messages, so each call can return different prompts. The call doesn't use the workspace's credits. You usually get four prompts, in English. If the model can't be reached you get a fixed set of general prompts instead, with a successful response.

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

This is limited to 30 requests a minute for each workspace's personal API keys, across all the workspace's apps, so every key in a workspace shares one allowance. Some workspaces have a different limit.

<Note>This endpoint accepts a personal API key belonging to a user with editor access to the app. A read-only key is refused, and workspace API keys are not accepted.</Note>

## Path parameters

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

## Response `200`

Suggested prompts for the app.

- SuggestionsResponse — Suggested prompts for adding analytics event tracking to an app.
  - `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, or your API key is read-only or a workspace API key.
- `404` — App not found.
- `429` — Rate limit reached. Retry later.

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-09-29** `d2b7ac8beb0c` — 1 info
  - endpoint added

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

---

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