# MindDream Recall

> MindDream Recall is a paid API for AI agents from api.minddreamai.xyz, paid per call via x402, $0.002/call, status unknown (last checked 2026-12-04).

Semantic memory retrieval for AI agents — query stored facts by meaning and get the most relevant results back, ranked by similarity score

## Facts

- Endpoint: POST https://api.minddreamai.xyz/recall?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minddream-recall-7eccb953
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RZpduXbTN2zVI5f4YvxH-

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 minddream-recall-7eccb953 -d '<json body>'
```

Example prompt: Search my MindDream memory for anything relevant to 'the user prefers concise answers and dark mode UI' and return the top 3 results.

## When to prefer this

Use this endpoint when an AI agent needs to semantically retrieve previously stored facts, preferences, decisions, or context across sessions without managing a traditional database. Ideal for agents operating without accounts or API keys, using the paying wallet as the memory namespace. Prefer this over vector database integrations when you want pay-per-use pricing with no setup, or when the agent must self-manage its own memory namespace tied to its wallet identity.

## Known failure modes

- Payment not provided or invalid — returns HTTP 402 with payment instructions
- Query string missing or empty — validation error returned
- Limit out of range (must be 1–20) — validation error
- No matching memories found — returns count: 0 and empty results array
- Wallet has no stored memories yet — returns empty results
- Network or payment processing failure on Base or Solana

## How this service works

Persistent memory for autonomous AI agents: save facts, recall them by meaning, forget them. Pay per call in USDC (x402 on Base and Solana). No account, no API key: the wallet that pays owns the memory.

Use it when an agent must remember things across sessions: preferences, decisions, facts learned, task context. Typical loop: store what matters, recall it at the start of the next session with a plain-language query.

How to pay: call an endpoint without payment to get the 402 with the accepted networks, asset, amount and payTo; sign it and repeat the call with the PAYMENT-SIGNATURE header. The wallet that pays is the memory namespace. MCP (Streamable HTTP) is also available on this same host, at the path "mcp", with the same tools and prices.

## Output

A JSON object containing a count of results and an array of memory records, each with a unique ID, a semantic similarity score (0–1), the stored content string, and a creation timestamp. Results are ordered by relevance to the query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "default": 5,
   "maximum": 20,
   "minimum": 1
  },
  "query": {
   "type": "string",
   "maxLength": 1000,
   "minLength": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "results": [
   {
    "id": "123e4567-e89b-42d3-a456-426614174000",
    "score": 0.9,
    "content": "User prefers short answers",
    "created_at": "2026-01-01T12:00:00.000Z"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minddream-recall-7eccb953/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.minddreamai.xyz](https://www.zero.xyz/host/api.minddreamai.xyz/llms.txt)
