Search a collection with a query and return the most similar documents.
Project API Key.
Collection name.
Query object.
Number of documents to return. Note that the maximum number of documents is 100.
If your application requires a strongly consistent read, set consistentRead to true. Although a strongly consistent read might take more time than an eventually consistent read, it always returns the last updated value.
If your application need to include vector values in the response, set includeVectors to true.
List of field name, sort direction pairs.
An object to specify a list of field names to include and/or exclude in the result.
Documents selected by query.
Elapsed time in milliseconds.
Total number of documents returned.
List of documents.
Whether the list of documents is included.
Maximum score.
Optional download URL for the list of documents.