List Collections
Get a list of all existing collections.Get Collection Info
Retrieve detailed information about a specific collection.Name of the collection to retrieve
Status of the collection (green, yellow, red)
Current optimizer status
Number of vectors in the collection
Number of points in the collection
Number of segments
Collection configuration including vector params, distance metric, and replication settings
Create Collection
Create a new collection with specified parameters.Name of the new collection
Wait for operation commit timeout in seconds. If timeout is reached, request returns with service error.
Vector configuration for the collection
Size of the vectors
Distance metric:
Cosine, Euclid, Dot, or ManhattanHNSW index configuration
Vector quantization configuration
Store vectors on disk instead of RAM
Number of shards in collection. Default is 1 for standalone, 2 for clusters.
Number of replicas for each shard. Default is 1.
Minimum number of replicas that must acknowledge a write operation.
Store payload data on disk
Configuration for collection optimizers
Returns
true if collection was created successfullyUpdate Collection
Update parameters of an existing collection.Name of the collection to update
Wait for operation commit timeout in seconds
HNSW index configuration updates
Vector configuration updates
Returns
true if collection was updated successfullyDelete Collection
Delete a collection and all its associated data.Name of the collection to delete
Wait for operation commit timeout in seconds
Returns
true if collection was deleted successfullyCheck Collection Existence
Check if a collection with the given name exists.Name of the collection
Create Field Index
Create an index for a specific field in the collection to enable efficient filtering.Name of the collection
If true, wait for changes to actually happen. Default is true.
Define ordering guarantees:
weak, medium, or strongTimeout for the operation in seconds
Name of the field to index
Field type:
keyword, integer, float, bool, geo, datetime, or textDelete Field Index
Delete an index for a specific field.Name of the collection
Name of the field where to delete the index
If true, wait for changes to actually happen
Define ordering guarantees for the operation
Timeout for the operation in seconds
Update Collection Aliases
Manage collection aliases for easier collection referencing.Wait for operation commit timeout in seconds
List of alias operations to perform
Returns
true if aliases were updated successfully