# Agent Memory Recall API

> Agent Memory Recall API is a paid API for AI agents from agent-memory-api.johntaylor1online.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Recalls stored memories for an AI agent by querying persistent agent memory storage and returning scored, relevant memory entries

## Facts

- Endpoint: POST https://agent-memory-api.johntaylor1online.workers.dev/memory/recall
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-memory-recall-api-8089dad0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ipIznv1jer1zYHwBs0KdM

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-memory-recall-api-8089dad0 -d '<json body>'
```

Example prompt: Search my agent's memory for anything it has previously stored about the user's travel preferences and return the most relevant memories with their confidence scores.

## When to prefer this

Choose this endpoint when an AI agent needs to retrieve previously stored memories or context from a persistent per-agent memory store, especially in stateless environments like Cloudflare Workers where in-process memory does not persist between calls. Prefer this over in-context memory when the agent's history spans many sessions or conversations.

## Known failure modes

- Missing required POST body fields returns a 4xx validation error
- No matching memories found returns an empty memories array
- Payment not provided or invalid results in a 402 Payment Required response
- Malformed JSON body may return a 400 Bad Request
- Memory store is empty or not yet initialized for the agent session

## How this service works

x402-powered API: agent-memory-api

## Output

Returns a JSON array of memory objects, each containing a relevance score (e.g. 0.95) and the recalled content string, ordered by semantic similarity to the query input.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "body": {},
     "enum": [
      "POST"
     ],
     "type": "string",
     "bodyType": "json"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "memories": [
   {
    "score": 0.95,
    "content": "Memory recall works"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-memory-recall-api-8089dad0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-memory-api.johntaylor1online.workers.dev](https://www.zero.xyz/host/agent-memory-api.johntaylor1online.workers.dev/llms.txt)
