Skip to Content
ConceptsManage Vectors

Manage Vectors

Get, delete, and update vectors in an index.

Get Vector by ID

Retrieve a single vector and its metadata by ID.

vector = index.get_vector("doc1")

Update Filters

Replace the filter fields on existing vectors without modifying their embedding or metadata.

index.update_filters([ {"id": "doc1", "filter": {"category": "updated", "score": 95}}, {"id": "doc2", "filter": {"category": "science"}}, ])

Filter updates are destructive replacements. Keys not included in the new filter object are removed from the vector. There is no partial merge.

Delete Vector by ID

Deletion is irreversible.

index.delete_vector("doc1")

Delete Vectors by Filter

Delete all vectors matching specific filter conditions.

# Not supported in Python SDK — delete by ID instead