Get AI visibility report
get_visibility_reportReturns the AI Search Visibility report of a site for a date range, the same data and filters as the AI Visibility page: the metrics, the visibility trend, the AI platform scorecards, the competitor share, the sources and every AI answer of the range. With promptId, it returns one prompt with its brand counts and its runs (the AI answers) for the date range instead; the other report filters then give invalid_arguments. It reads saved check results only and starts nothing. The result has no paging and can be large. Get promptIds from the prompts section of get_visibility. When AI Visibility is off in this deployment, the call gives feature_disabled.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "get_visibility_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topics | No | Only prompts of these topics. | |
| endDate | No | Last UTC day of the range, included, YYYY-MM-DD. Default: today. | |
| intents | No | Only prompts of these intents. | |
| locales | No | Only these markets, as "US:en", or "global:en" for no country. | |
| outcomes | No | Only AI answers with these outcomes. | |
| promptId | No | One prompt to return with its runs, from get_visibility. | |
| platforms | No | Only these AI platforms. | |
| projectId | Yes | Site to act on, from list_sites. | |
| startDate | No | First UTC day of the range, YYYY-MM-DD. Default: 27 days before endDate. | |
| promptType | No | organic, branded or all (the default). | |
| approvedCompetitorIds | No | Only prompts about these competitors, by the entityId of the report. |