Bot Tracking Key
Bot Tracking Keys authenticate your CDN log integrations with AI Search Index.
What is a Bot Tracking Key?
A Bot Tracking Key is a unique identifier that:
- Authenticates your CDN log requests to our API
- Associates incoming logs with your specific website
- Is different from your API key (used for dashboard access)
- Starts with the prefix
bot_
Getting Your Bot Tracking Key
- 1
Go to your Dashboard
Log in to your AI Search Index dashboard
- 2
Select Your Website
Click on the website you want to configure for CDN integration
- 3
Go to Integrations
Navigate to Settings → Integrations
- 4
Copy Your Key
Your Bot Tracking Key will be displayed. Click to copy it.
bot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Security Best Practices
Keep Your Key Secret
Your Bot Tracking Key should be treated as a secret. Never expose it in client-side code, public repositories, or logs.
- ✓Use environment variables to store the key
- ✓Only use in server-to-server communication
- ✓Rotate keys if you suspect they've been compromised
- ✗Never include in client-side JavaScript
- ✗Never commit to version control
Regenerating Your Key
If your key has been compromised, you can regenerate it from the Integrations settings page. Note that this will immediately invalidate the old key, so make sure to update your CDN configuration promptly.
Usage Examples
HTTP Header
Most CDN integrations use the key as an HTTP header:
x-api-key: bot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxQuery Parameter
Some services (like Cloudflare Logpush) pass the key as a query parameter:
https://aisearchindex.com/api/v1/logs/cloudflare_logpush?header_X-API-Key=bot_xxxxBasic Auth
Some services (like Akamai) use HTTP Basic Authentication:
Username: your-org-name
Password: bot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxReady to integrate?
Choose your CDN provider to see specific setup instructions.
View CDN Integrations