Get crawler analytics
get_crawler_analyticsRead ingested project Crawler Logs and aggregate visits by day, hour, page URL, folder, bot, platform, purpose, HTTP status, or country. Use day for trends or page for the Pages view. Includes the total visits for the entire filtered result.
Use nextOffset for more groups and totalVisits for the full filtered total. Use get_crawler_visit_logs when you need individual requests instead of aggregated counts.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"endDate": "2026-01-31",
"groupBy": "day",
"statuses": "200,404",
"startDate": "2026-01-01"
},
"name": "get_crawler_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bots | No | Comma-separated crawler IDs from botId in the visit logs. | |
| limit | No | Page size for the matching records. Omit for 20 records per page. | |
| pages | No | JSON array of path strings, for example ["/blog", "/docs"]. | |
| offset | No | Set to the previous page’s nextOffset and keep the filters fixed. | |
| context | No | User task for usage analytics. Omit private details. | |
| endDate | Yes | Inclusive upper bound of the reporting window. Use at most 366 days between startDate and endDate. | |
| folders | No | JSON array of folder paths, such as ["/blog"]. | |
| groupBy | No | Groups visits by the selected dimension. Use day for a trend, bot for crawler volume, or status to find HTTP errors. | |
| purposes | No | Comma-separated request purposes from botType in the visit logs. | |
| statuses | No | Comma-separated HTTP response codes, such as "200,404". | |
| countries | No | Comma-separated country values from the visit logs. | |
| llm_model | No | Exact model ID from the calling runtime. Send on every call when known. Omit if unavailable. | |
| platforms | No | Comma-separated bot platform labels from the Crawler Logs filters. | |
| projectId | No | Project ID from list_projects. Omit to use the configured or sole accessible project. | |
| startDate | Yes | Inclusive lower bound of the reporting window. | |
| botOperator | No | How to compare crawler identifiers against the supplied filters. Exact matching is the default; regex modes use RE2. | |
| pageOperator | No | How to compare page paths against the supplied filters. Exact matching is the default; regex modes use RE2. | |
| folderOperator | No | How to compare folder paths against the supplied filters. Exact matching is the default; regex modes use RE2. | |
| statusOperator | No | How to compare HTTP codes against the supplied filters. Exact matching is the default; regex modes use RE2. | |
| countryOperator | No | How to compare countries against the supplied filters. Exact matching is the default; regex modes use RE2. | |
| purposeOperator | No | How to compare request purposes against the supplied filters. Exact matching is the default; regex modes use RE2. | |
| platformOperator | No | How to compare bot platforms against the supplied filters. Exact matching is the default; regex modes use RE2. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Grouped visit counts; totalVisits counts all matching requests, across pages. | |
| success | Yes | True when the tool returns normally. | |
| executionTime | No | Elapsed time, e.g. 0.12s. |