# Agent Memory Recall: Read a Saved Value

> Agent Memory Recall: Read a Saved Value is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-26).

Reads a previously saved key-value pair from an agent's persistent namespace, returning the value, its size, and expiry metadata.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/memory/get?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-agent-memory-read-recall-7716537e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3wIvncguNGlaDOnfUva0v

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-data-tools-revmesh2074-workers-dev-agent-memory-read-recall-7716537e
```

Example prompt: Look up the value I saved under the key 'last-processed-order-id' in my memory namespace 'my-secret-namespace-abc123' so we can pick up where we left off.

## When to prefer this

Use this endpoint when an AI agent needs to recall state, checkpoints, preferences, or cached results that were saved in a prior run via /memory/set. It is purpose-built for stateless agent architectures that need lightweight cross-run persistence without a database. Prefer it over general-purpose KV stores when you need pay-per-call simplicity with no account setup, automatic 30-day TTL management, and direct HTTP or MCP access from any agent framework.

## Known failure modes

- 404 Not Found — key never existed or has expired; not billed
- Invalid namespace — must be 16–128 characters using only letters, digits, hyphens, or underscores
- Key too long — key exceeds 200 characters
- Eventual consistency lag — a value written elsewhere may not be visible for up to 60 seconds
- Unauthorized access — namespace is shared with anyone who knows it; treat as a secret

## How this service works

Agent memory, recall. Read the value saved under a key in your namespace with /memory/set, with when it was saved and when it expires. A key that was never saved or has expired is a 404 and is not charged. 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 recall what an agent saved in an earlier run.

## Output

Returns a JSON object with the key name, the stored string value, its size in bytes, the ISO timestamp of when it was last updated (updatedAt), and when it will expire (expiresAt). Returns HTTP 404 (not charged) if the key was never written or has already expired.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "namespace",
      "key"
     ],
     "properties": {
      "key": {
       "type": "string",
       "examples": [
        "user-preferences"
       ],
       "description": "The key, up to 200 characters"
      },
      "namespace": {
       "type": "string",
       "examples": [
        "demo-agent-memory-7f3c9a21"
       ],
       "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."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "key": {
       "type": "string"
      },
      "size": {
       "type": "number"
      },
      "value": {
       "type": "string"
      },
      "expiresAt": {
       "type": "string"
      },
      "updatedAt": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "key": "user-preferences",
  "size": 34,
  "value": "{\"language\":\"en\",\"units\":\"metric\"}",
  "expiresAt": "2026-11-24T15:00:00.000Z",
  "updatedAt": "2026-10-25T15:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-agent-memory-read-recall-7716537e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
