# AgentServices Memory Delete

> AgentServices Memory Delete is a paid API for AI agents from agentservices.to, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Deletes a stored key-value memory entry by key from the AgentServices persistent memory store

## Facts

- Endpoint: DELETE https://agentservices.to/v1/memory/%7Bkey%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentservices-memory-delete-a682529e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oduk2sMWtvd4DvgfdVheg

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 agentservices-memory-delete-a682529e -d '<json body>'
```

Example prompt: Delete the memory entry stored under the key 'session_context_42' from AgentServices memory.

## When to prefer this

Use this endpoint when an AI agent needs to explicitly remove a named key from the AgentServices persistent memory store — for example, after a task completes, a session ends, or stale state needs to be purged. Prefer this over overwriting the key with an empty value when you want clean removal semantics. Best suited for agents already using AgentServices memory for persistence, paying via x402 micropayments on Base.

## Known failure modes

- Key not found — may return 404 or silently succeed depending on implementation
- Authentication or payment failure via x402 — returns 402 Payment Required if USDC payment is not attached
- Invalid or malformed key in path parameter — returns 400 Bad Request
- Network timeout — no confirmation of deletion
- Key already expired by TTL — endpoint may return success with no-op

## How this service works

Paid data APIs for AI agents. Crypto market data, DeFi yields, IP geolocation, dispute resolution, marketing intelligence. Powered by x402 micropayments on Base.

## Output

Returns an empty response body on success, confirming that the specified key has been removed from the memory store. If the key does not exist, the response may still return a success status (idempotent delete).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "value"
 ],
 "properties": {
  "value": {
   "type": "string",
   "description": "Value to store"
  },
  "ttl_seconds": {
   "type": "integer",
   "description": "TTL in seconds (0 = permanent)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentservices-memory-delete-a682529e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentservices.to](https://www.zero.xyz/host/agentservices.to/llms.txt)
