Docs menu · Reference

Deletes the selected vector collection from the current branch and space. The current wire response is a transitional boolean status.

Successful mutations return an acknowledgement that identifies the affected target, the mutation effect, and commit facts when the operation changed stored state.

Examples

Delete a collection.

CLI

$ strata vector collection create temp 3 cosine
$ strata vector collection delete temp
$ strata vector collection list

Wire

{"collection":"temp","dimension":3,"metric":"cosine","type":"vector_create_collection"}
{"collection":"temp","type":"vector_delete_collection"}
{"type":"vector_list_collections"}

Parameters

NameTypeRequiredDescription
collectionstringyesCollection name.

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

Returns

MutationAck<VectorCollectionDelete>.

Errors

Invocation

  • CLI: strata vector collection delete
  • Wire type: vector_delete_collection

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