# 2s Vector Delete

> 2s Vector Delete is a paid API for AI agents from 2s.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Deletes a specific vector by ID from a named namespace in the 2s vector store.

## Facts

- Endpoint: POST https://2s.io/api/store/vector-delete
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-vector-delete-f8777549
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lcAeLOCgTHmC-CAA6jd4x

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-vector-delete-f8777549 -d '<json body>'
```

Example prompt: Delete the vector with ID 'doc-42' from the 'customer-support' namespace in my 2s vector store.

## When to prefer this

Use this endpoint when you need to remove a specific vector by its exact ID from a named namespace in the 2s vector store. Prefer this over batch operations when targeting a single known vector for deletion. Useful during data cleanup, document update workflows where old embeddings must be purged before reinsertion, or when decommissioning specific records from a vector namespace.

## Known failure modes

- Vector ID not found in the namespace — returns deleted: false in the items array
- Invalid or missing namespace — may return error or empty result
- Malformed request body — missing required id or ns fields
- Payment failure via x402 — request not processed
- Namespace does not exist — deletion may silently return deleted: false

## How this service works

The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.

## Output

Returns a JSON object with ok=true, an items array containing the vector ID and a boolean 'deleted' field indicating whether deletion succeeded, a total count, and source metadata including provider, URL, and license.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "string",
   "description": "Vector id to delete."
  },
  "ns": {
   "type": "string",
   "description": "Namespace the vector lives in."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-vector-delete-f8777549/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
