No. Vercel delivers logs separately from the request a visitor waits on.
Vercel Integration
Connect a Vercel production log drain from Server Logs so we can show which AI crawlers visit your site. We create the drain for you.
Vercel bills about $0.50 per uncompressed GB for every production log it delivers. We keep AI crawler visits and discard the rest after delivery, so a busy site pays Vercel for logs we do not store.
Prerequisites
You need a Vercel team that can create drains, and permission to edit the Ansehn project for this website.
A Vercel team on Pro or Enterprise. Hobby teams cannot create drains.
A Vercel account token from vercel.com/account/tokens with access to Drains for that team. An AI Gateway key does not work.
Permission to edit the Ansehn project. Without it, Server Logs will not let you deploy a drain.
How it works
Vercel production deployments
|
| Request logs (JSON)
v
https://ingest.ansehn.com/v1/logs/vercel
|
| AI crawler visits kept
v
Server LogsYou paste a Vercel account token in Server Logs. We use it once to list your teams and projects, create a production-only drain, and then discard the token. We do not store the token.
The drain is named Ansehn server logs followed by your Ansehn project id. It covers only the Vercel projects you select, and only their production deployments. Preview and development traffic is not included.
Step-by-step setup
Step 1: Create a Vercel account token
The token is only used while you connect. Delete it in Vercel after the drain is deployed.
Create an account token with access to Drains for the team that owns this website.
Copy the token. An AI Gateway key is rejected.
Step 2: Open Vercel in Server Logs
In Ansehn, open the project for this website.
Open Server Logs.
Under Connect a Hosting Provider, set Provider to Vercel.
Step 3: Choose the team and projects
Select only the Vercel projects that serve this website. A drain can include up to 50 projects. Leave out projects that belong to a different Ansehn project.
Paste the token into Vercel token.
Click Continue.
Choose the Team.
Check the Projects for this website.
Click Deploy drain.
When the drain is created, the token field is cleared. Production logs start arriving within a few minutes.
What gets stored
We store recognized AI crawler visits from production requests. Build logs, preview deployments, and ordinary visitor traffic are not kept.
The page path is stored without the query string.
The referrer is not stored.
Requests older than 90 days are skipped.
A request Vercel marks as incomplete (status
-1) is skipped.
We also create a project API key named Vercel log drain with the Server Logs Ingest scope. The secret is sent to Vercel and is not shown again. Revoking that key stops the drain.
If we cannot accept a batch, Vercel retries once, almost immediately, and then drops it. There is no backlog to replay.
Deploy again
Deploying again creates a new drain and revokes the previous key for this project. The old drain keeps failing until you delete it in Vercel.
In Vercel, open Team Settings, then Drains.
Delete the older drain whose name starts with
Ansehn server logsand includes this project's id.Leave drains for other Ansehn projects in place. Each project has its own name.
Verification
The connection appears after the first accepted batch, including a batch that contained no AI crawler visits.
Wait a few minutes after you deploy the drain.
Open Server Logs.
Check the connection status next to the tab bar. Hover it for the last ingest time.
AI crawler visits appear under Daily Visits, Top Pages, and Top Crawlers when those crawlers request the site.
Frequently asked questions
Will this slow down my website?
Can I use a Hobby team?
No. Creating a drain requires Vercel Pro or Enterprise. On Hobby, setup stops with "This team cannot create drains." Use Manual Upload or the Custom Log API instead.
Do I need to send only AI crawler logs?
No. The drain sends production request logs, and we keep the AI crawler visits. Vercel still bills for the full volume it delivers.
Can one Ansehn project cover several Vercel projects?
Yes. Check each Vercel project that serves this website, up to 50. Use a separate Ansehn project, and a separate drain, for a different website.
Is the Vercel token stored?
No. We use it for this setup request and discard it. Delete the token in Vercel after Deploy drain succeeds. The drain keeps working because it uses the Ansehn key, not the token.
Troubleshooting
Symptom | Meaning | Fix |
|---|---|---|
Vercel rejected the token | The token is missing, expired, or is not an account token with Drains access | Create a new account token at vercel.com/account/tokens. An AI Gateway key will not work. |
This team cannot create drains | The team is on Hobby, or Vercel is blocking drain creation for billing | Use a Pro or Enterprise team, or upgrade the team in Vercel |
This token cannot see a Vercel team | The token has no team access | Create the token from an account that belongs to the team |
The previous drain is failing | A later deploy replaced its key | Delete that drain under Team Settings, then Drains |
Connected, but no crawler visits | Production logs arrived, and none were recognized AI crawlers | Confirm AI crawlers are allowed to fetch the production site |
Need help?
If setup fails, email [email protected] and put "Vercel Integration" in the subject line.