Performs semantic (vector) search against a knowledge base namespace. Returns ranked results with scores.
curl --request POST \
--url https://api.svantic.com/knowledge_base/query \
--header 'Content-Type: application/json' \
--data '
{
"namespace": "string",
"query": "string",
"top_k": 1
}
'{
"ok": true,
"results": [
{
"text": "string",
"source_id": "string",
"score": 0,
"tags": [
"string"
]
}
],
"total_candidates": 0
}Documentation Index
Fetch the complete documentation index at: https://docs.svantic.com/llms.txt
Use this file to discover all available pages before exploring further.
Gateway POST /knowledge_base/query — QuerySchema (top_k accepted in body; gateway currently forwards namespace + query to the knowledge service).
curl --request POST \
--url https://api.svantic.com/knowledge_base/query \
--header 'Content-Type: application/json' \
--data '
{
"namespace": "string",
"query": "string",
"top_k": 1
}
'{
"ok": true,
"results": [
{
"text": "string",
"source_id": "string",
"score": 0,
"tags": [
"string"
]
}
],
"total_candidates": 0
}