Skip to main content
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_sentiment and brand_on_page pick rows when their dimension is on the row. In filters they take in, not_in, contains on the label and the null checks, and select rows after ranking, so every number and rank stays as it was. In scope they keep the rows that are ranked: { "field": "domain", "op": "in", "values": ["reddit.com", "quora.com"] } in scope ranks those two domains against each other. There domain, hostname and url take in, not_in and contains, and the page fields in and not_in. A kept row’s share is still its share of every citation in the population. With top, a page field in scope also narrows the pages the top values are picked by.
  • Pages: page conditions go in scope and 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) takes in or a comparison. page_type, category, brand_on_page and page_sentiment narrow 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, and brand_on_page in ["gap"] is the Sources page’s gaps toggle. Without their dimension they cannot go in filters: there is no row column to pick.
  • Address search: use url contains, hostname contains or domain contains in filters, with that address field in dimensions. 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 the brands_on_page block describe all of a row’s analysed pages: a brand_on_page, page_sentiment or competitors_on_page page condition does not narrow them, as on the Sources page. So with such a condition they cannot be used in order_by, a filter or top, nor with a compare window and a time dimension.
  • Comparison brands: brand_uuid goes in scope, takes in or not_in with project brand UUIDs and the reserved competitors value, and needs no brand dimension. For example, { "field": "brand_uuid", "op": "in", "values": ["competitors"] } selects marked competitors. Repeated conditions all apply: in sets intersect and not_in removes brands. Omitted, every other tracked brand counts. The lens brand is always excluded. This set determines competitors_on_page, gap classification, meta.page_competitors and the competitor flags and counts in brand_summary; it does not narrow the answer population. It is scope-only: a Sources brand_uuid result filter is rejected. mentions_brand remains a separate answer-population cut.
  • Lens: page_brand goes in scope, takes in with one brand UUID and removes no rows. It names the brand that page_sentiment, brand_on_page, competitors_on_page, mentioning_pages, the sentiment page counts and the brands_on_page block 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

With url 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. 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:
First confirm that the previous window had answers for the same population: 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 in citation_rate, the share of answers that cite the domain:
For Losing, use 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.
Add { "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

Replace domain with hostname or url:

Page type and category filters

The multi-select above the table. Keep domain as the only dimension and put page_type in scope: one row per domain counting only its listicle and comparison pages.
To split each domain into one row per page type and return only the listicle and comparison rows, put 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 with brand_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.

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 are GET 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. Add brand_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.