vector

scan

Scan vectors with values and version facts.

strata vector scan

wire vector_scan

Scans visible vectors in a collection starting at an optional key. Each item includes the key, embedding, metadata, and commit metadata exposed by the executor output.

Paginated responses use opaque cursors. Clients should pass the returned cursor back to the same command shape and must not parse cursor contents.

To see the complete help for this command, run:

strata vector scan --help

Example

Scan stored vectors from the start, in key order.

strata vector collection create docs 3 --metric cosinestrata vector upsert docs a [1.0,0.0,0.0]strata vector upsert docs b [0.0,1.0,0.0]strata vector scan docs

Parameters

NameTypeRequiredDescription
collectionstringyesCollection name.
branchstring or nullnoTarget branch. Defaults to the executor handle branch.
limitinteger or nullnoOptional row limit.
spacestring or nullnoTarget product space. Defaults to `"default"`.
startstring or nullnoOptional inclusive start key.

Returns

Page<VectorVersionedData, String>

  • dataobject

    Shared pagination continuation facts.

  • typestring

Errors

Recover by code. Retry policy and commit outcome come from the shipped error registry.

← All 22 Vectors commands

agents: this page as markdown → /docs/reference/vector/scan.md