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
["BE", "FR"]Filter by language codes
["en", "fr"]Filter by AI models
["gpt-4o", "claude-3-5-sonnet"]Filter by query IDs
["3fa85f64-5717-4562-b3fc-2c963f66afa6"]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
["3fa85f64-5717-4562-b3fc-2c963f66afa6"]Filter by execution tag IDs
["3fa85f64-5717-4562-b3fc-2c963f66afa6"]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"
When true, entities in the same group are collapsed into one row, counted once per response (so visibility cannot exceed 100%).
true
Filter which entity types to include in results. Accepted values: "owned", "primary", "competitor". Defaults to all types when omitted.
owned, primary, competitor ["owned", "primary", "competitor"]Scope to specific entity IDs. If omitted, returns all non-blacklisted entities.
[
"550e8400-e29b-41d4-a716-446655440000",
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
]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