APIIndexes
Retrieve matches
Searches the vector database with a query using the RAG retrieval model.
x-api-key<token>
Preferred authentication header.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://api.agent-brains.com/knowledge-base/retrieve" \ -H "Content-Type: application/json" \ -d '{ "namespace": "string", "query": "string" }'[
{
"id": "string",
"score": 0,
"values": [
0
],
"metadata": {}
}
]Empty