English
cURL
curl --request GET \ --url https://app.pathors.com/api/knowledgebases/query \ --header 'x-api-key: <x-api-key>'
{ "id": "<string>", "content": "<string>", "contentLength": 123 }
Search and retrieve relevant chunks from your knowledgebase
GET /api/knowledgebases/query
GET /api/knowledgebases/query?q=search_term&topK=5&scoreThreshold=0.3
[ { "id": "chunk_abc123", "content": "The product features include real-time analytics...", "contentLength": 82 } ]