Skip to main content
POST
RAG-powered Conversational Agent

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
Params
object

Current message to process

search_mode
enum<string>

Pre-configured search modes: basic, advanced, or custom.

Available options:
basic,
advanced,
custom
search_settings
object

The search configuration object for retrieving context.

rag_generation_config
object

Configuration for RAG generation in 'rag' mode

research_generation_config
object

Configuration for generation in ‘research’ mode. If not provided but mode=‘research’, rag_generation_config will be used with appropriate model overrides.

rag_tools
enum<string>

List of tools to enable for RAG mode. Available tools: search_file_knowledge, get_file_content, web_search, web_scrape, search_file_descriptions

Available options:
web_search,
web_scrape,
search_file_descriptions,
search_file_knowledge,
get_file_content

Response

200

results
object