POST /api/v1/projects/{project}/reports/queries
When a platform searches the web before it answers, it runs one or more searches first. These are its fan-out queries: the searches whose top results the AI read, so content that ranks for them is what shapes the answer. The answer panel lists them one answer at a time (see Brand Mentions); this entity counts them across every answer in scope.
One row per search, or per platform, country, topic, tag, prompt or time bucket, or any mix of those. Read the Reports API page first for the request shape, scope and filters, and the compare window.
Only searches the platform ran are counted. Some platforms, Perplexity among them, also suggest follow-up questions under an answer; those were never searched, so they never appear here. Platforms that answer from their own knowledge run no searches: their answers count in
answers and lower search_rate.Dimensions
Measures
With
query on the row, answers is the same for every search in a group, so runs ÷ answers is how often that search came up per answer.
Scope and filters
- The answer fields go in
scope, as on the main page:service_provider,service,country_code,country,tag_uuid,tag,topic_uuid,topic,prompt_uuid,prompt,branded,mentions_brand,cites_domain,mention_sentiment,carries_narrative,carries_theme,carries_sentiment,search_query. They change every number,answersincluded. queryis a row field and needsqueryindimensions.inandnot_inmatch the text in any letter case;containssearches it:{ "field": "query", "op": "contains", "value": "pricing" }. Infiltersit picks rows; inscopeit also sets the searchesrankcompares.searchtakescontainsonly and works on any rows. It keeps the rows whose searches, or the prompts behind them, have the words: a search row whose text has them or that a matching prompt led to, a prompt row whose text has them or that led to a matching search. A prompt that ran no search is still found by its own text. It only picks rows: a kept row still counts every search it ran. It cannot be sorted on. Put it infiltersfor a search box.- Measures take comparisons in
filters:{ "field": "runs", "op": "gte", "value": 5 }. With a compare window,{ "field": "runs_compare", "op": "is_null" }keeps the searches that didn’t run in the compare window: the ones new this period.
contains reads the words literally and ignores letter case: % and _ match themselves.
There is no value list for query: search texts are near-unique. Page through them with limit and offset as you would URLs on sources; rank stays correct on every page.
Related blocks
Examples
Headline numbers
How often the answers searched, how many searches they ran, and how varied those were, against the previous period.benchmarks[0] carries the trend of the first measure.
Searches per prompt
One row per prompt answered in the window, zero-filled, with the previous period for the change. Sort byruns_change for the prompts whose answers search more than they did.
Top searches
The searches run most, with how many prompts led to each, their share of all searches, and the prompts behind them.{ "field": "query", "op": "contains", "value": "pricing" } to filters for a search box. Add service to dimensions to see each search per platform, with share then a share of that platform’s searches.
A searches table, a page at a time
Ten searches a page, sorted by any measure, with the platforms each ran on and the prompts behind it, so the table needs one request a page. The search box addsquery contains; a “New” tab adds runs_compare is_null, which keeps the searches the compare window didn’t run. page.total counts the rows after the filters.
prompt in dimensions and search with search, which finds a prompt by its own text or by the searches it led to.
Searches per platform over time
Runs per platform per day, for a chart.searches_per_answer shows whether a platform is searching harder, not just answering more.
query to dimensions and { "field": "query", "op": "in", "values": ["best crm software"] } to filters.
The prompts behind a search
One row per prompt whose answers ran the search, with the platforms split out.prompts_for_query gives the same list in a block when you are already listing searches.
Searches run by the same answers
search_query in [text] in scope selects all answers that ran an exact search, case-insensitively. Only web searches count; suggested follow-up questions are excluded. Their other searches remain in the report unless a query condition in filters also restricts the rows.