Retrieve relevant chunks from a knowledge base (BYOM)
Retrieve relevant chunks from a knowledge base (BYOM)
Runs the relevance-gated vector search and returns raw chunks for the developer to inject into their own LLM. Empty results (no match or all below the relevance threshold) return 200 with an empty list.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
kb_id
Request
This endpoint expects an object.
query
top_k
Response
Retrieved chunks
query
count
chunks
Errors
400
Query Knowledge Base Request Bad Request Error
404
Query Knowledge Base Request Not Found Error
429
Query Knowledge Base Request Too Many Requests Error
503
Query Knowledge Base Request Service Unavailable Error