82trust / 100
Memory Recall
by Memory recall in Search & web
x402 APIPassing, checked 49 min ago
Recall remembered text by similarity to a query (ranked by cosine similarity), not by exact key. Returns the top-k matches with scores. The retrieval half of the wallet-scoped semantic memory.
POST https://agent402.tools/api/memory/recall
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 203 ms typical, 203 ms slowest 5%
- Last check
- 49 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/memory/recall" \
-H "content-type: application/json" \
-d '{"k":3,"query":"why did the deployment break"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fmemory%2Frecall
const res = await pay("https://agent402.tools/api/memory/recall", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"k":3,"query":"why did the deployment break"}),
});
console.log(await res.json());Example input
{
"k": 3,
"query": "why did the deployment break"
}Example output
{
"query": "why did the deployment break",
"results": [
{
"id": "abc123",
"score": 0.62,
"text": "The deploy failed because…"
}
]
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 49 min ago | Passed | 402 | 203 ms | $0.002 |
| 6 h ago | Passed | 402 | 207 ms | $0.002 |