Skip to content
Fourohtwo

1gateway.dev/v1/agent/kv/put

Use when an agent must keep state between runs without a database account. The paying wallet (USDC on any EVM network in the 402 quote) is the namespace. Input: key, value (JSON or text, max 64 KB), ttl_days 1-90. $0.003 flat. Output: status, expiry, usage. 1,000 keys, 10 MB per wallet. Private to the wallet, never shared, so values are not AI-screened. Unencrypted: no secrets. Example: POST {"key

BaseMonadPolygonArbitrumSolanaAnswering
GEThttps://1gateway.dev/v1/agent/kv/put

Uptime100% of 3 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/kv/put?key=notes%2Ftoday&ttl_days=30&value=step+3+done");
console.log(await res.json());

Example input

{
  "key": "notes/today",
  "ttl_days": "30",
  "value": "step 3 done"
}

More from Agent KV StorageProvider status