POST /api/v1/projects/{project}/reports/visibility
How brands appear in AI answers, at two grains:
- Totals. One row per brand, or per brand per platform, country, topic, tag, prompt or time bucket. Leave
brandout ofdimensionsand the rows combine all tracked brands, or only the brands abrand_uuidlist picks. See Combining brands. - Answer rows. Add
answertodimensionsfor one row per AI answer, newest first. This is the Brand Mentions list. See Answer rows.
Dimensions
Measures
Scope and filters
Sentiment uses the same project-selected methodology for current and comparison windows. Narrative scoring includes only passages assigned to a recognised narrative, including narratives not yet assigned to a theme; it uses each passage’s sentiment, not the narrative’s fixed sentiment label. Category counts are pooled before rounding for combined brands and time buckets. There is no answer-by-answer or date-by-date fallback to the older score. The headlinevalue and changes are also null when the required score is unavailable.
mention_sentiment continues to describe the raw answer-brand category. A split or filter on it selects that cohort of brand mentions; it does not select the sentiment of narrative passages. Visibility, mentions, position and answer denominators are unchanged by the score source.
- The answer fields go in
scope, as on the main page.service_provider in ["chatgpt"]inscopechanges the denominator;brand_uuid in [...]infiltersdoes not. brand_uuid(brand UUIDs andcompetitors) andbrand(brand names,in,not_inandcontains) are row fields. Withbrandindimensions, infiltersthey pick brand rows, and inscopethey also set the brandsrank,rank_compareandtopcompare:brand_uuid in [you, competitors]ranks you against your competitors.- Without
brandindimensions,brand_uuidinscopepicks which brands the rows combine instead. See Combining brands.brand, andbrand_uuidinfilters, still needbrandindimensions. mention_sentimentis a row field here, not an answer cut. It needsmention_sentimentindimensions, goes infilters, and keeps rows without changing the denominator.- Any measure takes a comparison in
filters:mentions gte 5,visibility lt 0.1,rank lte 3,visibility_change lte -0.05.
Combining brands
brand_uuid in scope works in one of two ways, depending on whether brand is in dimensions:
Leave out the
brand_uuid list altogether and the combined row adds up every tracked brand, as it always has. So a combined row always means “these brands added together”, and the list decides which brands.
Example: your competitors one by one
Example: your competitors combined
The same request withoutbrand in dimensions. The not_in condition leaves your own brand out, in case it is marked as a competitor.
What the combined numbers mean
If no brand is left in the list (for example, no competitors are marked),
visibility, avg_position and sentiment are null and answers is unchanged.
Building the list
- Values are project brand UUIDs or
competitors(the brands marked as competitors). - Use
into add brands andnot_into leave brands out. Repeat the condition as often as you need; every condition applies, soin ["competitors"]plusnot_in [your brand]means “competitors, except you”.
What still works with a combined row
- Time: add
date,weekormonthtodimensionsfor the combined line over time. - Groups: add
topic,service,country,tagorpromptfor one combined row per group. - Compare window: the previous period uses the same brands.
- Answer filters in
scope(service_provider,topic_uuid,branded…) narrow the answers as usual.
Where brand_uuid does not combine
- In
filters. There it only picks rows, so it still needsbrandindimensions. - With
answerindimensions. Answer rows needbrandindimensionsto usebrand_uuid. - The
brandname field. Onlybrand_uuidcombines brands;brand(names) always needsbrandindimensions.
How many brands were combined
Add"related": ["brand_count"] to the request and the response says how many brands the combined row adds together:
visibility. Without a brand_uuid list it is the number of tracked brands. It costs no extra request and is null unless you ask for it. It is not available with brand or answer in dimensions, where nothing is combined.
Answer rows
Addanswer to dimensions and the report becomes a list: one row per AI answer in the scope, newest first. The body, scope, filters, ordering and paging work as for totals. Some fields have no value on one answer, so the API rejects them with answer on the row:
- the compare window,
- the
visibility,coverage,answersandrankmeasures, - the
positiondimension.
citations, search, answer_search, answered_at and the related blocks below work only with answer on the row.
Search the prompt and full answer
On answer rows,{ "field": "answer_search", "op": "contains", "value": "running shoes" } in filters matches the prompt text or the full recorded answer text, case-insensitively and literally, like every text search here. It selects matching answer rows before pagination, without changing the answers counted or the denominator. Combine it with the same lens, scope and sort used by the answer list or export.
answer_search requires answer in dimensions, supports only contains, and cannot be a dimension or sort field. search matches prompt text or brand mention snippets. To pick answers by id, use answer_uuid.
Row
Withanswer in dimensions, every row carries these columns. Put answer first in dimensions to get them first.
Other dimensions
Measures
Scope and filters
- The answer fields go in
scope, as on the main page. To keep only answers negative about a brand, use themention_sentimentdimension and amention_sentimentcondition infilters. brand_uuid,brandandmention_sentimentare row fields and need their dimension.answer_uuidtakesinandnot_inwith answer UUIDs.searchtakescontainsonly and matches the prompt text or a mention snippet. On a brand row, that brand’s snippet. This is the Mentions page’s search box.answer_searchtakescontainsonly and matches the prompt text or the full answer text. See Search the prompt and full answer.- Measures take comparisons in
filters:avg_position lte 3,mentions eq 0,citations gte 1. - Sort by
answered_atfor newest or oldest first.searchandanswer_searchselect rows but do not sort.
filters. All text matching is case-insensitive and literal: the term is trimmed, and % and _ match themselves rather than acting as wildcards.
Keep every answer and inspect one brand
answer_brand is a lens and goes in scope: in with exactly one brand UUID from the project. It selects whose mention metrics to show while keeping every answer, including answers that do not name that brand. Use it with answer in dimensions and leave brand out. It has no implicit primary-brand default.
avg_position, sentiment or mention_sentiment puts answers that do not name the lens brand last in either direction, as every report sorts missing values. Sorting happens before paging, and page.total includes unmentioned answers. Related blocks still describe the complete answer, including its other brands and sources.
To show only mentions, add { "field": "mentions", "op": "gt", "value": 0 } to filters. To filter how the answer speaks about the lens brand, include mention_sentiment in dimensions and add { "field": "mention_sentiment", "op": "in", "values": ["negative"] } to filters; positive and neutral work the same way.
Find competitor gaps
Combinementions_brand not_in for your brand with mentions_brand in for the competitor UUIDs you want to compare, both in scope. An answer is counted when it names at least one selected competitor and none of the excluded brands.
null position and sentiment because your brand is absent. Without the competitor inclusion condition, exclusion also keeps answers that name no tracked brand. UUID lists must be nonempty. Use competitors in place of the competitor UUIDs to compare against every brand you marked as a competitor.
Related blocks
Text stays out of the row so the list stays light. Ask for it per page:
Both blocks require the
answer dimension and return only metadata for the returned answer rows. Narrative metadata requires Reputation access and one brand: the row brand when grouped by brand, otherwise the answer_brand lens. Without either the request is rejected; it never falls back to the primary brand. It respects carries_narrative and carries_theme in the scope. Narratives come in order of reach: the one more of the project’s answers carry for that brand comes first, whatever the report’s dates, and one narrative’s passages stay together. Theme fields can be null. A missing snippet does not remove a recorded association or substitute the full answer as evidence.
Top brands per row
"related": ["top_brands"] works on any row that is not an answer: per prompt, topic, platform, country, tag or date. For each returned row it lists the five tracked brands named in most of the answers in the row’s group, whatever brand the row itself is for. Each brand has the number of those answers that name it and its average position there. A tie goes to the lower total position, then the name. This is the Prompts page’s “top brands” column, for the rows on the page only.
What moved a brand’s visibility
"related": ["change_breakdown"] splits a brand’s visibility change between the compare window and the window over the rows: how much each platform, country, topic or prompt moved it, and its share of the rise or fall. meta.change_breakdown gives the brand’s visibility before and after and the effect of the answer mix shifting between the rows. It needs brand in dimensions, a compare window with compare_rows: "any", and nothing beside brand but service, country, topic or prompt. See Waterfall: what moved visibility for the request, the response and how to read it.
In the examples below, BRAND_UUID is your primary brand’s UUID from GET /api/v1/projects/{project}/brands or the values endpoint.
Dashboard
KPI cards: visibility, sentiment, average position
One row for your brand with a compare window. The response also fillsbenchmarks[0] with the trend of the first measure. Reorder measures to put the card’s measure first, or read visibility_change, sentiment_change and avg_position_change from the row.
Visibility chart
Every brand by day. Plot one line perbrand, x = date, y = visibility. Swap date for week or month for the chart’s period toggle.
Industry ranking
Position distribution
How often your brand is named first, second, third and so on.Underperforming prompts
The prompts where your brand shows up least.Recent mentions
The newest answers that name your brand, with sentiment, platform, prompt, position and the other brands in the answer.Brand Rankings
Rankings table with deltas
The Brand Rankings table over the last seven days against the seven before.rank_change is negative when a brand moved up.
{ "field": "brand_uuid", "op": "in", "values": ["competitors"] } to filters. It hides rows and leaves every number and rank as it was. To rank your brand against your marked competitors instead, put { "field": "brand_uuid", "op": "in", "values": ["YOUR_BRAND_UUID", "competitors"] } in scope: rank and rank_compare then number those brands from 1.
Your rank against your competitors
One row, your own, ranked against the brands you marked as competitors, with the previous period. The scope sets who is ranked; the filter returns your row.rank is your place among you and your competitors, from 1, and rank_compare the same in the previous period. Leave out filters to get every competitor’s row too. Leave out scope instead and rank is your place among every brand.
Top three per platform
rank is assigned within each platform, so a filter on it is “top three on each”.
Compare visibility over time
The competitor chart: pick the brands with abrand_uuid filter and plot one line each by week.
Analyse
The matrix
Matrix Analysis is brand × platform with three metrics. Swapservice for country, topic or tag for the other views. Pivot the rows on your side: one row per cell.
Visibility change by platform
Which platforms drove the change for your brand. Sort byvisibility_change ascending to see the drops first.
Waterfall: what moved visibility
The waterfall starts at last period’s visibility and ends at this period’s. Each platform gets one bar for how much its own mention rate moved, and one extra “coverage & mix” bar shows the effect of the answer mix shifting between platforms. The bars add up exactly. Use a compare window for the previous period withcompare_rows: "any", and ask for the change_breakdown block. Every platform with answers in either period comes back, including one that had answers last period and none this period, so the bars add up. See rows that exist in only one window.
change_breakdown entry names its row and gives that platform’s bar, and meta.change_breakdown gives the brand’s totals:
- Before and Now:
beforeandafter.changeis the difference andrelative_changethe rise or fall relative tobefore(nullwhenbeforeis 0). - A platform’s bar:
contribution, how much its own mention rate moved the brand’s visibility. Positive is a gain, negative a loss. - Its share of the change:
share_of_change, so0.45is “45% of the rise”. - The coverage & mix bar:
mix_contribution, the effect of the answer mix shifting between platforms, with itsmix_share_of_change. It belongs to the whole breakdown, so it is inmeta, not on a row. within_noise:truewhen the platform has too few answers in either period, or its move is too small to tell apart from chance. Say so rather than calling it a cause.- The shares are
nullwhen the brand’s change is under a tenth of a percentage point: there is no meaningful split of a change that small.
contribution, largest first. To keep a chart short, show the biggest few and add the rest’s contribution values up into one “N more” bar; the bars still add up. before, every contribution and the mix_contribution add up to after exactly. The brand’s totals and every row’s values are the same on every page, and top or a filter that hides rows (such as a measure condition) changes no number here either. Read every row (limit up to 1000) to draw every bar. With several brands in the report, meta.change_breakdown has one entry per brand.
The block needs brand in dimensions, a compare window with compare_rows: "any", and nothing beside brand but service, country, topic or prompt: each answer then sits in exactly one row. Swap service for country, topic or prompt to break the change down another way. To drill into one platform, add { "field": "service_provider", "op": "in", "values": ["chatgpt"] } to scope and break the result down by another dimension. The whole scope applies, so the breakdown covers the same answers as the rest of your report. The brand goes in filters: it picks the brand’s rows, and the brand’s totals still cover all of them. These numbers match GET /projects/{project}/visibility-decomposition.
A request that asks for the block without what it needs gets a 422 naming the problem under related:
Prompts
The prompts table
The Prompts report for your brand: one row per prompt.top_brands adds each prompt’s five most-named brands, the table’s “Top brands” column. Add { "field": "prompt", "op": "contains", "value": "running" } to filters for the search box, or a tag_uuid / topic_uuid condition to scope for the sidebar filters.
Topics rollup
Prompts are detailed, so roll them up. The same request withtopic gives one row per topic, with the topic’s prompts pooled into one denominator. Prompts without a topic are the row where topic is null.
Visibility by week
Brand Mentions
The mentions list
The Brand Mentions page: every answer that names the selected brand, newest first, 25 per page. Useoffset for the next page and page.total for the pager.
Search
{ "field": "answer_search", "op": "contains", "value": "battery life" }. It matches the prompt text too.
One answer in full
More examples
A few queries you cannot run in the app today, but which the same request shape supports.A project KPI without brand rows
Nodimensions: one row for the whole project. visibility is the mean brand visibility, coverage the share of answers that name any tracked brand.
"dimensions": ["service"] gives the same per platform; ["prompt"] with coverage shows which prompts name nobody you track.
Co-mentions: who appears when you appear
mentions_brand in scope makes “answers that name us” the population. Every other brand’s visibility is then its share of those answers. answers prints the denominator.
Your visibility inside the answers that cite a domain
cites_domain in scope counts only the answers that cite Reddit; brand_uuid in filters returns your row.
Where a competitor is named and you are not
mentions_brand with the competitor in scope, brand_uuid with you in filters. A row at 0% is a prompt where they appear and you do not.
Every answer, with brand and citation counts
Nobrand dimension: one row per answer whether or not it names anyone.
Answers that name no tracked brand
Answers that name a competitor
mentions_brand in scope makes those answers the population. Add brands_in_answer to see whether you are in them too.
Answers that ran an exact search
search_query is an answer field and goes in scope, separate from the free-text search row field. It selects answers that ran an exact web search, case-insensitively, and works with the answer_brand lens and answer-related blocks. It does not match snippets or suggested follow-up questions.