Suggest analytics events to track
Changed on<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. Once the app is tracking events, read them with List analytics event names.
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/apps/{app_id}/analytics/suggestions
- AuthHTTP bearer
Path parameters
ID of the app whose analytics to read.
Response
Suggested prompts for the app.
Example response
{
"suggestions": [
"Track recipe saves and shares",
"Log meal plan creation",
"Record grocery list exports",
"Monitor search queries and result clicks"
],
"prefix": "Using Event Tracking, "
}Changes
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info
- info
endpoint added
- info