Analytics
Monitor analytics
Returns per-monitor aggregates across the filter window, scoped to a single brand. The response is paginated.
/api/v1/analytics/monitors
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| start_date | string | Required | The inclusive UTC start of the analytics window, given as an ISO 8601 date ( |
| end_date | string | Required | The inclusive UTC end of the analytics window. The value must be on or after |
| brand_id | integer | Required | The numeric ID of the brand to scope per-row metrics to. The brand must belong to the active project. |
| models | string[] | Optional | You may use this parameter to limit responses to one or more AI engines. Repeat the parameter for each value, for example |
| countries | string[] | Optional | You may use this parameter to limit responses to monitors run in the given ISO-3166-1 alpha-2 country codes. |
| monitors | integer[] | Optional | You may use this parameter to limit responses to specific monitors inside the active project. |
| segments | integer[] | Optional | You may use this parameter to limit responses and brand-scoped metrics to brands attached to any of the given segments. Segments are named groupings of brands, such as |
| tags | integer[] | Optional | You may use this parameter to limit responses to those whose prompt carries any of the given tag IDs, such as |
| page | integer | Optional | The page number to return. Defaults to |
| per_page | integer | Optional | The number of items per page. Defaults to |
| sort_by | string | Optional | The field to sort by. Defaults to |
| sort_order | string | Optional | The direction to sort by. Each endpoint has its own default. |
Response
Response schema
| Field | Type | Description |
|---|---|---|
| data | MonitorAnalytics[] | |
| links | PaginationLinks | |
| meta | PaginationMeta |
Per-monitor analytics row
| Field | Type | Description |
|---|---|---|
| monitor | Monitor | The monitor this row covers. |
| brand | Brand | The brand the metrics are scoped to. |
| visibility | integer | The percentage of analyzed responses on this monitor that mention the brand. |
| visibility_change | integer | The difference in visibility compared with the equal-length period immediately preceding the window. |
| share_of_voice | integer | This brand's share of the total tracked-brand mentions on this monitor. |
| share_of_voice_change | integer | The difference in share of voice compared with the preceding period. |
| sentiment | integer | The average sentiment score on a 0-100 scale. |
| sentiment_change | integer | The difference in sentiment compared with the preceding period. |
| position | number | The average position of the brand within the responses on this monitor that mention it. A lower value is better. |
| position_change | number | The difference in position compared with the preceding period. A negative value indicates an improvement. |