Query a collection
Search a collection with a query and return the most similar documents.
Authorizations
Project API Key.
Path Parameters
Collection name.
Body
Query object. For managed embedding vector fields, use knn.queryText. For unmanaged vector fields, use knn.queryVector.
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.
- Option 1
- Option 2
Response
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.