devtune_get_visits_per_answer_fetch
Get AI-referred visits per answer fetch for each page and for the whole project over a fixed window of completed UTC days ending the day before yesterday. answerFetches counts AI systems retrieving the page while building an answer; aiReferralVisits counts visits that arrived from an AI answer; visitsPerAnswerFetch is visits divided by fetches. An answer fetch is not a citation: the answer may not have linked or named the page. A page's coverage is covered when its visits come from GA4 or PostHog and that provider has synced the whole window, or from the traffic snippet and it reported on the page's host for every full UTC day of the window (running the day before it starts and the day after it ends); referralSource says which (ga4, posthog or snippet). Other pages are no_referral_data (no complete referral data for this window), with aiReferralVisits and visitsPerAnswerFetch null, never 0; read referralSource only on covered pages. visitsPerAnswerFetch is also null when answerFetches is 0. summary is the project total over every page with activity, returned only when all are covered; otherwise it is null and summaryWithheldReason is partial_coverage (excludedAnswerFetches counts the answer fetches on uncovered pages), page_limit (the total could not be checked for every page) or no_activity. Covered pages are ranked by visitsPerAnswerFetch, highest first, with pages that have no ratio after them; no_referral_data pages follow, by answerFetches. The list is capped at pageLimit; pageLimitReached is true when the cap was reached. A cursor from an earlier read is rejected once a late import changes the ranking; start again without it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "devtune_get_visits_per_answer_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | The same setting as pageSize. Send either. | |
| cursor | No | Opaque cursor from the previous response; cursors expire after ~48 hours. | |
| pageSize | No | Results per page (1-100). Defaults to 25. | |
| windowDays | No | Fixed rolling window in days: 7, 30, or 90. Defaults to 30. |