Ask natural language questions and receive AI-generated answers grounded in your uploaded documents with source citations.
/searchPerform a RAG (Retrieval-Augmented Generation) search across your knowledge base. The AI retrieves relevant document chunks and generates an answer grounded in your data.
questionstring*The natural language question to ask.knowledge_dbstring*Knowledge base ID to search within.top_knumberNumber of relevant chunks to retrieve (default: 5).answerstringAI-generated answer based on your documents.sourcesarrayArray of source documents with relevance scores.// POST /search
// Authorization: Bearer <idToken>
// x-api-key: <apiKey>
{
"question": "What are the key findings?",
"knowledge_db": "kb_abc123",
"top_k": 5
}