vector

collection.stats

Read facts for one vector collection.

strata vector collection stats

wire vector_collection_stats

Reads collection-level facts for one vector collection. The current wire response uses the collection-list output with one item.

Status commands return a scalar or compact status payload and do not mutate database state.

To see the complete help for this command, run:

strata vector collection stats --help

Example

Read a collection's dimension, metric, and size.

strata vector collection create docs 3 --metric cosinestrata vector collection stats docs

Parameters

NameTypeRequiredDescription
collectionstringyesCollection name.
branchstring or nullnoTarget branch. Defaults to the executor handle branch.
spacestring or nullnoTarget product space. Defaults to `"default"`.

Returns

StatusResponse<VectorCollectionInfo>

  • 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/collection/stats.md