Performs a search query against a knowledge base to retrieve the most relevant chunks (segments).
API Key authentication. Provide the key in the 'Authorization' header as 'Bearer {API_KEY}'.
The ID of the knowledge base to retrieve from.
List of retrieved segments matching the query.
The response is of type object
.