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_idstringRequired

Request

This endpoint expects an object.
querystringRequired
top_kintegerOptional1-10Defaults to 5

Response

Retrieved chunks
querystring
countinteger
chunkslist of objects

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