AI traffic
tpc ai-traffic reports AI bot visits to a product’s website: totals over time, the most active bots, the most crawled pages, per-path breakdowns, and recent crawl activity. Every command is read-only. Pass --scope <org-slug>/<product-slug> to select the product.
Date windows
Every command exceptactivity takes a date window:
--period 7d,30d,90d,180d, or365dfor a window ending today (UTC).--startand--endwith ISO dates (2026-01-01) for a fixed range. Pass both, and don’t combine them with--period.
Filter by AI provider
summary, trends, top-pages, paths, breakdown, and activity take --provider. Pass a comma-separated list or repeat the flag; values are case-insensitive.
Any other value must match a provider name exactly as
top-bots prints it. On activity, --provider keeps rows whose provider names contain the value.
Summary
--granularity bucket (day, the default, week, or month). --category keeps one traffic category: inference, pre-training, crawlers, virtual-browser, or unknown. --compare replaces the table with the total for the window, the total for the previous window of the same length, and the change.
Trends
--compare wow or --compare mom adds the value from a week or a month earlier and the change.
Top bots and top pages
top-bots ranks providers by visits, with each one’s category. --bot keeps providers whose name contains the text. --page and --page-size paginate (up to 100 per page).
top-pages ranks pages by visits, with each page’s title, domain, and number of distinct bot providers. --sort recency orders by the latest visit instead, --path keeps pages under a path prefix, and --page and --page-size paginate (up to 1,000 per page). With --provider, --path, or --sort recency, the CLI works from the 1,000 most-visited pages.
Paths
--path /blog keeps /blog and every page under it. End the prefix with * to merge those pages into one row per provider.
Breakdown
--by provider, the default) or each page category (--by category). Categories are the first path segment, such as /blog, unless you pass --categories; then each page goes to the first matching prefix and the rest go to other.
Recent activity
--limit (default 50, up to 1,000) and --offset page through the results. --since (1h, 6h, 12h, 24h, 7d, 30d, or 90d), --provider, and --path filter the rows on the page you fetched, so a filtered page can hold fewer than --limit rows.
Filter by path on summary, trends, and breakdown
Onsummary, trends, and breakdown --by provider, --path keeps the days on which a matching page appears in the sampled top paths. The visit counts still cover every page on those days. For per-page counts, use top-pages, paths, or breakdown --by category.
Output formats
Everyai-traffic command accepts --format text (the default), --format json, or --format csv. JSON and CSV rows include the product slug and, except on activity, the date window.