Get sentiment comparison across entities
Returns sentiment per entity (optionally grouped), sorted by mention count descending.
Headers
Project ID to specify the project context
Body
Start date (inclusive)
"2025-01-01"
End date (exclusive)
"2025-02-01"
Filter by country codes
Filter by language codes
Filter by AI models
Filter by query IDs
Filter by source presence: "sources" (only with sources), "no_sources" (only without), "all" (no filter). Legacy true/false values are still accepted.
all, sources, no_sources Filter by shopping presence: "shopping" (only with shopping), "no_shopping" (only without), "all" (no filter). Legacy true/false values are still accepted.
all, shopping, no_shopping Filter by query tag IDs (numeric — bigint column)
Filter by execution tag IDs
Filter by query tag group IDs — matches rows carrying any tag filed under a selected group. Combines with queryTagIds per queryTagMode.
Filter by execution tag group IDs — matches rows carrying any tag filed under a selected group. Combines with execTagIds per execTagMode.
Filter by query type. Include "untyped" to also match queries without a type. Results from since-deleted queries are excluded when this filter is set.
comparative, informative, perception, untyped Query tag matching mode: "or" matches ANY tag (default), "and" matches ALL tags.
and, or Execution tag matching mode: "or" matches ANY tag (default), "and" matches ALL tags.
and, or IANA timezone for date bucketing and filtering (e.g. "Europe/Brussels"). Defaults to UTC.
"Europe/Brussels"
Row grouping level for entity results. "none" = one row per entity, "division" = one row per division (entities not in a division get their own row), "group" = one row per top-level group (divisions roll up into their group). Defaults to "none".
none, division, group Deprecated — use groupBy instead. true is equivalent to groupBy="group".
false
Include entities that have only ever been seen in a single AI response. These are mostly one-off extraction noise and are hidden by default.
false
Filter which entity types to include in results. Accepted values: "owned", "primary", "competitor". Defaults to all types when omitted.
owned, primary, competitor Scope to specific entity IDs. If omitted, returns all non-blacklisted entities.
Response
Canonical entity ID.
"550e8400-e29b-41d4-a716-446655440000"
Entity display name.
"Acme Corp"
Whether the entity is owned by the project.
true
Whether this is the primary project entity.
true
Whether this is a competitor entity.
false
Average sentiment score (0–100).
72.3
Count of positive-sentiment mentions.
52
Count of neutral-sentiment mentions.
18
Count of negative-sentiment mentions.
10
Total mention count for this entity.
80