Docs menu · Reference

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.

Examples

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

CLI

$ strata vector collection create docs 3 cosine
$ strata vector collection stats docs

Wire

{"collection":"docs","dimension":3,"metric":"cosine","type":"vector_create_collection"}
{"collection":"docs","type":"vector_collection_stats"}

Parameters

NameTypeRequiredDescription
collectionstringyesCollection name.

Plus the optional scope: branch and space (default to the session branch and the "default" space).

Returns

StatusResponse<VectorCollectionInfo>.

Errors

Invocation

  • CLI: strata vector collection stats
  • Wire type: vector_collection_stats

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