Skip to content
Fourohtwo

Agent memory, delete a key

agent-data-tools.revmesh2074.workers.dev/memory/delete

Agent memory, delete a key. Delete the value saved under a key in your namespace now, before it expires. Answers deleted: false when there was nothing to delete. Values are kept until they expire (at most 30 days) or are deleted; reads anywhere may lag a write made elsewhere by up to a minute. Use to forget a fact or clear task state.

BasePolygonArbitrumSolanaAnswering
GEThttps://agent-data-tools.revmesh2074.workers.dev/memory/delete

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/memory/delete?key=user-preferences&namespace=demo-agent-memory-7f3c9a21");
console.log(await res.json());

Example input

{
  "key": "user-preferences",
  "namespace": "demo-agent-memory-7f3c9a21"
}