get_query_fanouts
Query fan-outs: the web searches each AI model ran through the provider's official API before answering the project's tracked prompts. One row per distinct search, sorted by answers, with the engines and prompts behind it, its tags, the tracked brands named inside the search string, the client's citation and mention counts, the hosts cited and matching Search Console rows. limit sets how many rows come back (default 5, max 200) and, above 10, how long the lists in signals, brandsInSearches and sequences are (default the top 10 of each, with their totals); summary: true returns those blocks without rows; distinctSearches, the totals in signals, brandsInSearches and sequences, and the per-engine coverage describe every search in the window. Filters: days, engine, promptType (shopping or other), tag. fanoutSource "peec" returns the sub-queries Peec AI recorded in its own chats instead, for clients with a Peec AI connection (a separate capture, never pooled with ours). The reading rules for these figures arrive in howToRead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only searches run for prompts carrying this tag (topic). | |
| days | No | Window in days (default 30). | |
| limit | No | Rows to return, most answers first (default 5, max 200). The lists in signals, brandsInSearches and sequences hold the top 10, or this many when it is higher. | |
| engine | No | Filter to one engine by its short label, e.g. "ChatGPT". Falls back to all engines if it exposed no searches in the window. | |
| summary | No | true = the whole-window totals and the capped lists, without rows. Default false. | |
| clientId | No | Client id — uses the AI-Visibility project its Overview opens in the app (the newest). | |
| projectId | No | AI-Visibility project id. | |
| promptType | No | Only searches run for prompts of this type: shopping = prompt category Shopping, other = every other category. | |
| fanoutSource | No | Whose capture: "native" (default) — the searches our scans captured from the providers' official APIs; "peec" — the sub-queries Peec AI recorded in its chats (logged-out app or API, per engine), imported from the client's Peec AI connection. One source per call, pooled with the other in no figure. | |
| peecQueryKind | No | fanoutSource "peec" only: Peec's web searches, its shopping (product) lookups, or both (default all). Not a prompt type. |