Complete reference for the AI Search & Chat Widget API. Integrate intelligent search and AI-powered chat into any website.
The API uses two types of keys. Public keys are safe for browser use; API keys are for server-side operations only.
Used by the widget in the browser. Restricted to widget endpoints only. Passed via header or query parameter.
Full access to management endpoints. Never expose in client-side code. Passed via header.
Endpoints used by the embedded chat widget. Authenticated with Public Key.
Returns client-specific widget settings including bot name, brand color, greeting message, and position.
| Parameter | Description |
|---|---|
| key queryrequired | Public key |
Returns the compiled widget JavaScript file. Embed in your site with a single script tag.
| Parameter | Description |
|---|---|
| key queryrequired | Public key |
Main search/chat endpoint used by the widget. Supports pure search mode and AI chat mode with LLM-generated answers.
Server-side search endpoint. Requires API Key authentication.
Same functionality as the widget search, but authenticated with API Key. Use this for server-to-server integrations.
| Header | Description |
|---|---|
| X-API-Keyrequired | Your API key |
Manage content items in your knowledge base. Requires API Key.
Multi-tenant client management. Requires API Key.