vector

collection.delete

Delete a vector collection.

strata vector collection delete

wire vector_delete_collection

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 of the outcome: for a state-changing write, the affected target with the mutation effect and commit facts; for mutations that produce a domain result (such as a branch or a promotion outcome), that result object.

To see the complete help for this command, run:

strata vector collection delete --help

Example

Delete a collection.

strata vector collection create temp 3 --metric cosinecreated collection temp (3 dimensions, cosine)strata vector collection delete tempdeleted collection tempstrata vector collection list(empty)

Parameters

NameTypeRequiredDescription
collectionstringyesCollection name.
branchstring or nullnoTarget branch. Defaults to the executor handle branch.
forcebooleannoDelete the collection's vectors before dropping it. A populated collection is refused without this.
spacestring or nullnoTarget product space. Defaults to `"default"`.

Returns

MutationAck

  • databoolean
  • typestring

Errors

Recover by code. Retry policy and commit outcome come from the shipped error registry.

← All 24 Vectors commands

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