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
| Name | Type | Required | Description |
|---|---|---|---|
collection | string | yes | Collection name. |
Plus the optional scope: branch and space (default to the session branch and the "default" space).
Returns
StatusResponse<VectorCollectionInfo>.
Errors
failed_precondition.engine.runtime_closednot_found.engine.branchinvalid_argument.engine.product_spaceinvalid_argument.engine.vector_collectioninvalid_argument.engine.vector_keynot_found.engine.vector_collection
Invocation
- CLI:
strata vector collection stats - Wire type:
vector_collection_stats