Cloud Vector Delete
Delete one or more vectors by key
Prerequisites
- Authenticated with
agentuity auth login
Usage
agentuity cloud vector delete <namespace> <keys...> [options]
Arguments
| Argument |
Type |
Required |
Description |
<namespace> |
string |
Yes |
- |
<keys...> |
array |
Yes |
- |
Options
| Option |
Type |
Required |
Default |
Description |
--confirm |
boolean |
No |
false |
if true will not prompt for confirmation |
Examples
Delete a single vector (interactive):
bunx @agentuity/cli vector delete products chair-001
Delete multiple vectors without confirmation:
bunx @agentuity/cli vector rm knowledge-base doc-123 doc-456 --confirm
Bulk delete without confirmation:
bunx @agentuity/cli vector del embeddings old-profile-1 old-profile-2 --confirm
Output
Returns JSON object:
{
"success": "boolean",
"namespace": "string",
"keys": "array",
"deleted": "number",
"durationMs": "number",
"message": "string"
}
| Field |
Type |
Description |
success |
boolean |
Whether the operation succeeded |
namespace |
string |
Namespace name |
keys |
array |
Keys that were deleted |
deleted |
number |
Number of vectors deleted |
durationMs |
number |
Operation duration in milliseconds |
message |
string |
Confirmation message |