POST /api/v1/projects/{project}/reports/sources
One row per cited domain, hostname, URL, category or page type, or per platform, country, topic, tag, prompt or time bucket. No dimensions gives one row of totals. Read the Reports API page first for the request shape, scope and filters, and the compare window.
Dimensions
Prompt rows also carry
last_cited_at: the latest time an answer to the prompt cited the row’s sources, within the window and after the source and page conditions in the scope. Sort by it with prompt in dimensions.
page_sentiment and brand_on_page come from Surfacd’s page analysis of the cited URLs. They describe the page against one brand, the lens brand: the page_brand lens in scope, or your primary brand when there is none.
Measures
Scope and filters
- Answers: the answer fields go in
scope, as on the main page. The answers counted are the same set the Sources page uses. - Row fields
domain,hostname,url,category,page_type,page_sentimentandbrand_on_pagepick rows when their dimension is on the row. Infiltersthey takein,not_in,containson the label and the null checks, and select rows after ranking, so every number and rank stays as it was. Inscopethey keep the rows that are ranked:{ "field": "domain", "op": "in", "values": ["reddit.com", "quora.com"] }inscoperanks those two domains against each other. Theredomain,hostnameandurltakein,not_inandcontains, and the page fieldsinandnot_in. A kept row’sshareis still its share of every citation in the population. Withtop, a page field inscopealso narrows the pages the top values are picked by. - Pages: page conditions go in
scopeand narrow which cited pages count before grouping and ranking, without changing the answers counted.competitors_on_page(the number of other tracked brands named on the page) takesinor a comparison.page_type,category,brand_on_pageandpage_sentimentnarrow the pages when they are not on the row:page_type in ["listicle", "comparison"]keeps one row per domain that counts only those pages, which is what the page’s multi-select shows, andbrand_on_page in ["gap"]is the Sources page’s gaps toggle. Without their dimension they cannot go infilters: there is no row column to pick. - Address search: use
url contains,hostname containsordomain containsinfilters, with that address field indimensions. Search is literal and case-insensitive, selects complete rows after ranking, and preserves their numbers and ranks. Recorded page titles are not searched. analysed_pages,mentioning_pages, the three sentiment page counts and thebrands_on_pageblock describe all of a row’s analysed pages: abrand_on_page,page_sentimentorcompetitors_on_pagepage condition does not narrow them, as on the Sources page. So with such a condition they cannot be used inorder_by, a filter ortop, nor with a compare window and a time dimension.- Comparison brands:
brand_uuidgoes inscope, takesinornot_inwith project brand UUIDs and the reservedcompetitorsvalue, and needs no brand dimension. For example,{ "field": "brand_uuid", "op": "in", "values": ["competitors"] }selects marked competitors. Repeated conditions all apply:insets intersect andnot_inremoves brands. Omitted, every other tracked brand counts. The lens brand is always excluded. This set determinescompetitors_on_page, gap classification,meta.page_competitorsand the competitor flags and counts inbrand_summary; it does not narrow the answer population. It is scope-only: a Sourcesbrand_uuidresult filter is rejected.mentions_brandremains a separate answer-population cut. - Lens:
page_brandgoes inscope, takesinwith one brand UUID and removes no rows. It names the brand thatpage_sentiment,brand_on_page,competitors_on_page,mentioning_pages, the sentiment page counts and thebrands_on_pageblock describe. - Measures take comparisons and null checks in
filters.
citations_per_citing_answer measures citation intensity among the answers that actually cite the source; citations_per_response divides by every answer in the population.
Page titles
Withurl in dimensions, every row carries page_title: the title recorded for the page, or null when none was recorded. No title is inferred from the address. Sort by page_title to order pages by title; a page with no title sorts by its URL. Sorting by page_title needs url in dimensions.
Related blocks
Use"related": ["brand_summary"] for a table row’s brand logos when they must describe only the pages the scope’s page and lens conditions keep, such as a Gaps view. Each entry is {row, brands, brand_count, competitor_count}: brand_count is how many tracked brands other than the lens brand those analysed pages name, competitor_count how many of them are competitors (the comparison set selected by brand_uuid in scope, or every other tracked brand when omitted), and brands the first three, competitors first, then most pages first, each {uuid, name, domain, pages, competitor}. It needs no lens brand; without one, no brand is left out. For every brand on a source, ask brands_on_page for that one row: it describes all of the row’s analysed pages. Neither block infers unrecorded brand mentions.
"related": ["brands_on_page"] adds, per row, the tracked brands named on its analysed pages with the number of pages each appears on. The lens brand comes first, then most pages first. This is what draws the brand logos in the Sources table.
Dashboard
Newly cited domains
Add a comparison window and a null check on a compare measure to find domains cited now with no matching observation in that window:meta.answers_compare in the same response is above 0. A missing comparison period cannot establish that a domain is newly cited. not_null gives domains with a matching compare observation.
Domains gaining and losing share
The Sources page’s Gaining and Losing tabs are one request each. Filter and sort on the change incitation_rate, the share of answers that cite the domain:
lt and sort ascending. A domain with no citations in the compare window has no change, so it is never gaining: find it with the newly cited request above.
Citations KPI card
Source categories donut
Top sources
Sources overview
KPIs
Citations, answers citing, pages, domains and citations per answer, with trends.Domain share over time
The top five domains by week.rank is per week, so the filter keeps each week’s top five.
Domain movers
Page type donut
Gap ratio KPI
How many cited pages name your brand, name only competitors, or name nobody you track.Sources tables
Domains table with “Mentioned?” and brand logos
The Source Analysis domains table.mentioning_pages / analysed_pages is the “Mentioned?” column; brands_on_page draws the logos.
{ "field": "page_brand", "op": "in", "values": ["COMPETITOR_UUID"] } to scope to see the same table through a competitor’s eyes. Add a compare window for the previous-period deltas. Use offset for the next page.
Hostnames and URLs tables
Replacedomain with hostname or url:
Page type and category filters
The multi-select above the table. Keepdomain as the only dimension and put page_type in scope: one row per domain counting only its listicle and comparison pages.
page_type in dimensions and the same condition in filters instead. Each row then keeps the numbers and rank it has without the filter.
Gaps only
Domains ranked by their pages that name at least one marked competitor and not you. Select the comparison set withbrand_uuid and the brand being inspected with page_brand. A page naming both remains mentioned, never a gap. Off the row, brand_on_page in scope narrows the pages, so the domains are ranked by their gap pages alone; competitors_on_page is the “minimum competitors” control.
Negative pages
The sentiment filter: domains ranked by their analysed pages that speak negatively about the lens brand.Search
Prompts citing a page
Open a URL and see which prompts cite it.More examples
Domain share by platform
What the platforms read when they are negative about you
mentions_brand plus mention_sentiment in scope make “answers negative about us” the population. answers prints how many that is.
Project saved sources in the application
Save cited domains and pages to a shared project collection. Everyone who can view the project sees the same saved sources; project editors can save or remove them. Saving the same source twice keeps one bookmark. Hostnames remain available for reporting but cannot be bookmarked. The application’s endpoints areGET and POST /projects/{project}/api/saved-sources, plus DELETE /projects/{project}/api/saved-sources/{uuid}. POST accepts { "kind": "domain", "value": "reddit.com" }; kinds are domain and url. It returns { "data": { "uuid": "…", "kind": "domain", "value": "reddit.com", "created_at": "…" } }. A source must have been cited in that project. Deleting a saved resource returns 204.
GET returns data, links, cursor meta, and counts with the project’s total saved domain and url counts. Use per_page (default 25, maximum 100), optional kind, and the returned meta.next_cursor to retrieve the next page. Counts cover the whole collection, including sources outside the current reporting dates. The collection follows normal project read access, including authorized shared project links. Saving and deleting still require project editing access.
Anyone with project read access can use the reserved saved value in a domain or URL report condition: { "field": "domain", "op": "in", "values": ["saved"] }. It composes with listed addresses and not_in, preserving global ranks and shares in filters. In scope, saved targets rank against each other while shares still refer to the whole population. Saved sources with no citations in the selected window have no report row. Hostname filters cannot use saved.
Choose which page competitors count
By default every other tracked brand counts as a competitor on cited pages. Addbrand_uuid to scope to select the comparison set. Use competitors for the brands you marked as competitors, explicit project brand UUIDs for a custom set, or both. It takes in and not_in, needs no brand dimension and cannot be used in Sources filters. Repeated conditions all apply: in sets intersect and not_in removes brands.
The independent page_brand lens is always excluded from the comparison set. A page naming the lens remains mentioned even if it also names a competitor. A page is a gap when it names a selected competitor and not the lens. An empty comparison set has no gap pages and meta.page_competitors is 0.
The same comparison set determines competitors_on_page, gap classification, meta.page_competitors and the competitor flags and counts in brand_summary, in both comparison windows. It does not narrow the AI answer population or change which tracked brands brands_on_page lists. Use mentions_brand separately to select answers naming a brand.
Saved state on returned report rows
Add"related": ["saved_sources"] to a sources report to include the project’s bookmark UUIDs beside the requested domain and url dimensions:
row indexes the returned page’s rows. A null uuid means that address is not saved. The block only describes address dimensions on the row; hostname-only and other groupings return []. Bookmark state is read after paging, without changing counts, shares, ranks or row selection. This metadata follows normal project read access, including authorized shared links.