Rest API
Get component events per day
GET /api/v1/insights/components/events/per-day
The same engagement counters as the totals endpoint, one entry per variation per day.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Your API key from account settings.
The email address of your user.
The ID of your account. You can find this in the account settings.
The ID of the workspace you want to use.
Query Parameters
Section titled “Query Parameters ”First day of the range, inclusive, as YYYY-MM-DD.
Last day of the range, inclusive, as YYYY-MM-DD.
Recompute instead of reading the query cache. Slow - only worth it when you know the cache is stale.
Restrict the counters to one personalization.
Responses
Section titled “ Responses ”One entry per variation per day.
object
Engagement counters for one personalization variation, split by new versus returning visitors.
object
object
Responses where the AI could not answer.
Derived from chatstartingresponses plus chatconversationswithoutstartingmessage.
object
Responses where the AI could not answer.
Derived from chatstartingresponses plus chatconversationswithoutstartingmessage.
Unauthorized - invalid API key.
StartTime or endTime was missing.