agentuity-cli-cloud-vector-delete
Delete one or more vectors by key. Requires authentication. Use for Agentuity cloud platform operations
When & Why to Use This Skill
The agentuity-cli-cloud-vector-delete skill is a specialized administrative tool designed for managing vector data within the Agentuity cloud platform. It allows developers to securely delete specific vector embeddings by their unique keys across different namespaces. This skill is essential for maintaining high-performance vector databases, ensuring data accuracy, and managing the lifecycle of information used by AI agents and retrieval-augmented generation (RAG) systems.
Use Cases
- Data Cleanup: Removing outdated or redundant vector embeddings to improve search relevance and reduce storage costs in AI-driven applications.
- Privacy and Compliance: Deleting specific data points or user-related vectors to comply with data protection regulations such as GDPR or CCPA.
- Error Correction: Programmatically removing incorrectly indexed vectors or corrupted data entries identified during the development and testing phase.
- Namespace Management: Clearing specific sets of vectors within a namespace to reset or update knowledge bases without affecting the entire database.
| name | agentuity-cli-cloud-vector-delete |
|---|---|
| description | Delete one or more vectors by key. Requires authentication. Use for Agentuity cloud platform operations |
| version | "0.0.103" |
| license | Apache-2.0 |
| allowed-tools | "Bash(agentuity:*)" |
| argument-hint | "<namespace> <keys...>" |
| command | "agentuity cloud vector delete" |
| tags | "destructive deletes-resource slow requires-auth" |
Cloud Vector Delete
Delete one or more vectors by key
Prerequisites
- Authenticated with
agentuity auth login - Project context required (run from project directory or use
--project-id)
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 |