report_type | enum (overview, crawlers, paths, content_type_distribution, page_type_distribution, status_code_distribution, requests_trend, pages_crawled_trend, …) | No | overview | Which report to return. overview: bot requests, share of all traffic, pages crawled, robots.txt violations and the connected CDN. crawlers: requests per crawler, grouped by group_by and break_down_by. paths: most requested paths. content_type_distribution, page_type_distribution, status_code_distribution: request split. requests_trend, pages_crawled_trend, violations_trend: daily project values. path_trend, status_code_trend, content_type_trend, crawler_trend: daily values for the items in trend_values. scrape_to_referral: crawls per visit each AI operator sends back. cdn_providers: CDNs connected to the project. |
date_range | DateRange | No | - | Request dates to include, as days in timezone, both ends inclusive. Use preset=‘FIXED’ with start/end dates (YYYY-MM-DD), or a preset such as LAST_30_DAYS. Default: the last 7 days. |
timezone | string | No | UTC | IANA timezone used to read dates and relative periods, e.g. ‘Europe/London’ or ‘America/New_York’. Defaults to UTC. |
bot_type | enum (AIBots, AllBots, AllTraffic) | No | - | Traffic to report on: AIBots (AI crawlers only, the default), AllBots (every known bot) or AllTraffic (bots and humans). |
filters | object or string | No | - | More Clarity bot filters, sent as-is (all optional; values inside one filter are ORed): botOperator (e.g. [“OpenAI”, “Anthropic”]), botAgent (e.g. [“GPTBot”, “ClaudeBot”]), botActivity (e.g. [“AI Crawler”, “AI Assistant”, “AI Search”]), violation (“Violation” or “NoViolation” of robots.txt), cdnProvider (Azure, Akamai, Fastly, Cloudflare, WordPress, CloudFront), statusCode (e.g. [“200”, “404”]), domain, path ([{“operator”, “value”}] with operator Equals, Contains, StarstWith, EndsWith or RegexMatch), contentType (HTML, JSON, XML, PDF, Image, Video, Audio, JavaScript, CSS, Markdown, Text, Font, Unknown), pageType (e.g. [“Product”, “Blog”]). Use the listed spellings exactly. The date and bot type come from date_range and bot_type. Example: {“botOperator”: [“OpenAI”], “statusCode”: [“404”]} |
group_by | enum (BotOperator, BotAgent, BotCategory) | No | BotOperator | crawlers and crawler_trend: column for the top-level rows, BotOperator (company), BotAgent (user agent) or BotCategory. |
break_down_by | enum (BotOperator, BotAgent, BotCategory) | No | BotAgent | crawlers and crawler_trend: column for the items nested under each row, BotOperator, BotAgent or BotCategory. |
trend_values | string or array of any | No | - | Required for path_trend, status_code_trend, content_type_trend and crawler_trend: up to 5 exact values from the matching report. path_trend takes the full url from the paths report; status_code_trend and content_type_trend take values from the distribution reports. crawler_trend takes [{“label”, “item”}] from the crawlers report run with the same group_by and break_down_by (omit item to trend the row total). Example: [“https://example.com/pricing”] or [{“label”: “OpenAI”, “item”: “GPTBot”}] |
limit | integer | No | 100 | Rows to return for crawlers and paths, 1 to 100. |
offset | integer | No | 0 | Rows to skip for crawlers and paths, to read further pages. |
sort_ascending | boolean | No | - | crawlers and paths: true to sort by request count ascending. Default: descending. |
group_by_content_type | boolean | No | - | paths: true to group the paths by response content type. |