Api Endpoint

Agent memory, save

Agent memory, save. Save a value (up to 8,000 characters of text or JSON) under a key in your own namespace, so an agent can remember facts, preferences or task state between runs. Overwrites an existing key; expires after 1 to 30 days (default 30). 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 persist what an agent learned for a later call to memory_get.

Open interactive test console

Offering

Provider
agent-data-tools.revmesh2074.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agent-data-tools.revmesh2074.workers.dev/memory/set
MIME type
application/json
First seen
2026-10-25T21:48:24.636Z
Last seen
Tags
agent-memory, key-value-store, kv-store, Memory, storage

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.002 USDC
Atomic price: 2000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x2074C40346Ae2A90e0E4A391bceE6F16BF5277f5"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2000",
    "payTo": "0x2074C40346Ae2A90e0E4A391bceE6F16BF5277f5"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "2000",
    "payTo": "0x2074C40346Ae2A90e0E4A391bceE6F16BF5277f5"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "payTo": "82wfSCZhCmZA7zwqqt6Q3FG8nqYBwUvbThP6M97fa9Q6"
  }
]

Observed health

Status
Healthy
Latest latency
1309 ms
Average latency
879 ms
HTTP status
402
Last checked
Reachability
100% over 3 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "namespace": {
          "type": "string",
          "description": "Your namespace: a secret of 16 to 128 letters, digits, - or _ that you choose and reuse. Anyone who knows it can read and write it, so treat it like a password; send it in a POST body to keep it out of URLs.",
          "examples": [
            "demo-agent-memory-7f3c9a21"
          ]
        },
        "key": {
          "type": "string",
          "description": "The key, up to 200 characters",
          "examples": [
            "user-preferences"
          ]
        },
        "value": {
          "type": "string",
          "description": "The text or JSON to save, up to 8,000 characters",
          "examples": [
            "{\"language\":\"en\",\"units\":\"metric\"}"
          ]
        },
        "days": {
          "type": "string",
          "description": "Days to keep it, 1 to 30 (default 30)",
          "examples": [
            "30"
          ]
        }
      },
      "required": [
        "namespace",
        "key",
        "value"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "days": {
              "description": "Days to keep it, 1 to 30 (default 30)",
              "examples": [
                "30"
              ],
              "type": "string"
            },
            "key": {
              "description": "The key, up to 200 characters",
              "examples": [
                "user-preferences"
              ],
              "type": "string"
            },
            "namespace": {
              "description": "Your namespace: a secret of 16 to 128 letters, digits, - or _ that you choose and reuse. Anyone who knows it can read and write it, so treat it like a password; send it in a POST body to keep it out of URLs.",
              "examples": [
                "demo-agent-memory-7f3c9a21"
              ],
              "type": "string"
            },
            "value": {
              "description": "The text or JSON to save, up to 8,000 characters",
              "examples": [
                "{\"language\":\"en\",\"units\":\"metric\"}"
              ],
              "type": "string"
            }
          },
          "required": [
            "namespace",
            "key",
            "value"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "expiresAt": {
              "type": "string"
            },
            "key": {
              "type": "string"
            },
            "saved": {
              "type": "boolean"
            },
            "size": {
              "type": "number"
            },
            "updatedAt": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}