Vercel Log Drain
Send your Vercel logs to Robot Speed. We automatically filter AI bot visits. No code required.
Prerequisites
- ✓A Vercel project (all plans)
- ✓Your Robot Speed API key (Settings → API in your dashboard)
1
Open Log Drains
Go to your Vercel project → Settings → Log Drains → Add Log Drain
2
Data type
Select Logs, then click Next
3
Configure sources
Sources: Functions, Edge Functions, Static
Environment: Production
4
Endpoint and authentication
Endpoint URL
https://www.robot-speed.com/api/ai-bot-visits/vercelCustom header
X-API-Key: your_rs_api_keyEncoding
JSON5
Create the drain
Click Create Drain. That's it! Robot Speed automatically filters the logs to keep only AI bot visits.
How it works
Vercel sends all your HTTP logs to our endpoint. We analyze each request: if the user-agent matches an AI bot (ChatGPT, Perplexity, etc.), we record it. Everything else is discarded. No personal data from your visitors is stored.