Skip to content

Vectors

List Vectors
client.VectorStores.Vectors.List(ctx, vectorStoreName, query) (*CursorPageVectors[VectorDocument], error)
GET/v5/vector-stores/{vector_store_name}/vectors
Get Vector
client.VectorStores.Vectors.Get(ctx, vectorID, params) (*VectorDocument, error)
GET/v5/vector-stores/{vector_store_name}/vectors/{vector_id}
ModelsExpand Collapse
type VectorDocument struct{…}

A document returned from direct lookups (get/list operations).

ID string

Document ID

Content TextContentOptional

Text content for documents.

Text string

Text content to be embedded

Type TextContentTypeOptional

Content type identifier

Metadata map[string, any]Optional

Key-value metadata

Vector []float64Optional

Embedding vector (if requested)