Unified per-URL snapshot
posts.snapshotRetrieve a 30/60/90-day performance snapshot for a post, aggregating GSC, Matomo, GA4, Clarity, and AI citation data from configured sources. Returns available metrics only.
Instructions
Pull a 30/60/90-day snapshot across every configured signal source for one post: GSC clicks/impressions/CTR/position + top queries, Matomo visits + dwell, GA4 pageviews, Clarity scroll/rage clicks, AI-citation counts.
Each source is best-effort: if its env vars are missing the field is omitted. Returns whatever is available.
Read-only. No third-party writes. Optionally persists to the local DuckDB cache when persist=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Canonical URL of the post to snapshot. | |
| window | No | ||
| persist | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| window_days | Yes | ||
| gsc | Yes | ||
| matomo | No | ||
| ga4 | No | ||
| clarity | No | ||
| citations | No | ||
| cannibalization | No |