Skip to content

Public access and rate limits

Control who can access your AI Search features and set rate limits to manage usage. These settings determine how the chat widget and search page behave for your visitors.

Configure public access to your AI Search features from the Search settings page in the dashboard.

SettingDefaultDescription
enabledfalseEnable public access to AI Search
allowedDomains[]Domains permitted to embed search widgets
searchEnabledtrueAllow search queries
chatEnabledtrueAllow chat conversations
anonymousSessionstrueAllow unauthenticated users
sessionTTLMinutes60Session expiry time in minutes

Rate limits protect your AI Search usage and prevent abuse. Configure these values to balance availability with cost control.

SettingDefaultDescription
searchPerMinute100Maximum search queries per minute
chatPerMinute20Maximum chat messages per minute
perIpPerMinute30Maximum requests per IP address per minute

When a rate limit is exceeded, the widget or search page displays a message asking the visitor to try again shortly. Rate limits reset every minute.

Restrict which domains can embed the chat widget and search page by adding your production domain(s) to the allowedDomains list. This prevents unauthorised usage of your AI Search on third-party sites.

For example, to allow only your production site:

{
"allowedDomains": ["www.example.com", "example.com"]
}

If the allowedDomains list is empty, requests from any domain are accepted when public access is enabled.