query_vectors
Query vectors in a dataset to find nearest neighbors by L2 distance. Supports metadata filtering and read-your-writes for instant search of newly ingested vectors.
Instructions
Run a vector similarity search against a dataset. Returns nearest neighbours sorted by L2 distance (lower score = closer; 0.0 is exact). The result 'mode' names the tier that answered: 'recall' = the read-your-writes recall tier; 'hot'/'cold' = the consolidated object-storage tier ('hot' = shard already cached in memory, 'cold' = first fetch from object storage); 'ephemeral' = no shard yet (computed on demand). With the recall tier on, a just-ingested vector is immediately searchable (read-your-writes). Supports an optional flat metadata filter (exact-match AND semantics; run exhaustively server-side).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||