curl --request GET \
--url https://api.example.com/api/search{
"namespace": "<string>",
"query": "<string>",
"reranker_available": true,
"result_count": 1,
"results": [
{
"best_score": 1,
"chunk_count": 2,
"namespace": "<string>",
"preview": "<string>",
"source_type": "youtube",
"title": "<string>",
"url": "<string>",
"source_id": "<string>",
"timestamps": [
123
],
"video_id": "<string>"
}
],
"timing": {
"rerank_ms": 0,
"search_ms": 0,
"total_ms": 0
}
}Search the knowledge base directly - ranked results with scores, no LLM.
curl --request GET \
--url https://api.example.com/api/search{
"namespace": "<string>",
"query": "<string>",
"reranker_available": true,
"result_count": 1,
"results": [
{
"best_score": 1,
"chunk_count": 2,
"namespace": "<string>",
"preview": "<string>",
"source_type": "youtube",
"title": "<string>",
"url": "<string>",
"source_id": "<string>",
"timestamps": [
123
],
"video_id": "<string>"
}
],
"timing": {
"rerank_ms": 0,
"search_ms": 0,
"total_ms": 0
}
}Search query
1 - 500Namespace to search
100Max results
1 <= x <= 15Successful Response
Response from the search endpoint.