Skip to content
Fourohtwo

1gateway.dev/v1/agent/memory/search

Use when an agent must recall what it saved before without knowing the exact key. Pay from the same wallet (USDC on any EVM network in the 402 quote). Input: q (any language), k 1-20, optional tag. Output: the closest memories with id, similarity score, text, tags and expiry. An empty memory returns an empty list. Example: ?q=what leverage does the user accept&k=3

BaseMonadPolygonArbitrumSolanaAnswering
GEThttps://1gateway.dev/v1/agent/memory/search

Uptime100% of 2 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://1gateway.dev/v1/agent/memory/search?k=3&q=what+leverage+does+the+user+accept&tag=prefs");
console.log(await res.json());

Example input

{
  "k": "3",
  "q": "what leverage does the user accept",
  "tag": "prefs"
}

More from Agent MemoryProvider status