Get crawler visit logs
get_crawler_visit_logsInspect individual crawler requests newest first, for example to verify a bot reached a URL or received an error. Each page contains up to 20 records with request time, bot, URL and HTTP status. Follow nextOffset for more records. For grouped counts or trends use get_crawler_analytics.
Use the returned request timestamp and HTTP response to investigate a specific crawl event. Keep the date and crawler filters fixed when requesting another page.
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",
"folders": "[\"/docs\"]",
"statuses": "404",
"startDate": "2026-01-01"
},
"name": "get_crawler_visit_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bots | No | Comma-separated crawler IDs from botId in the visit logs. | |
| 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"]. | |
| 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 | Newest matching HTTP requests. Follow nextOffset until it is null. | |
| success | Yes | True when the tool returns normally. | |
| executionTime | No | Elapsed time, e.g. 0.12s. |