Lists vector collections visible in the selected branch and space, including collection dimension, metric, and count facts.
Paginated responses use opaque cursors. Clients should pass the returned cursor back to the same command shape and must not parse cursor contents.
Examples
List vector collections.
CLI
$ strata vector collection create docs 3 cosine
$ strata vector collection list
Wire
{"collection":"docs","dimension":3,"metric":"cosine","type":"vector_create_collection"}
{"type":"vector_list_collections"}
Parameters
No parameters.
Plus the optional scope: branch and space (default to the session branch and the "default" space).
Returns
Page<VectorCollectionInfo, String>.
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 list - Wire type:
vector_list_collections