Knowledge Bases
Search knowledge base
Search a Knowledge Base and return the most similar chunks, along with their search and rerank scores. Note that all configuration changes made in the API will override the settings in the UI.
post/v2/knowledge/{knowledge_id}/search
Path parameters
knowledge_idstring required
The unique identifier or key of the knowledge base
The unique identifier or key of the knowledge base
Request body
Example request
{
"rerank_config": {
"model": "cohere/rerank-multilingual-v3.0"
}
}Response
Search knowledge base