Cloudflare Workers crawler logs
Use a Cloudflare Worker when you want to normalize request and response fields at the edge before sending them to WatchLLM.
Endpoint
POST /api/events/cloudflare-workers
curl -X POST "https://your-watchllm-host.com/api/events/cloudflare-workers" \
-H "Authorization: Bearer $WATCHLLM_API_KEY" \
-H "content-type: application/json" \
--data '[{"timestamp":"2026-05-01T12:00:00Z","statusCode":200,"requestPath":"/","hostname":"example.com","userAgent":"Mozilla/5.0 ClaudeBot","country":"US"}]'Worker mapping
Send timestamp, status, host, path, user agent, response content type, referrer, client IP, and Cloudflare country. The endpoint accepts batches, so the Worker can buffer a few events before sending.
Verify
Open /workspace/settings/crawler-logs?provider=cloudflare-workers, then confirm accepted rows in /workspace/crawlers.