StorageVectorsClient

Interface for vector bucket operations

Functions

Link copied to clipboard
abstract suspend fun createBucket(name: String)

Creates a new vector bucket with the given name

Link copied to clipboard
abstract suspend fun deleteBucket(name: String)

Deletes a vector bucket (must be empty first)

Link copied to clipboard
abstract fun from(vectorBucketName: String): VectorIndexApi

Access operations for a specific vector bucket Returns a scoped client for index and vector operations within the bucket

Link copied to clipboard
abstract suspend fun getBucket(name: String): VectorBucket

Retrieves metadata for a specific vector bucket

Link copied to clipboard
abstract suspend fun listBuckets(filter: VectorBucketFilter.() -> Unit = {}): ListVectorBucketsResponse

Lists vector buckets with optional filtering and pagination