# Agent Memory API – List Namespace Memories

> Agent Memory API – List Namespace Memories is a paid API for AI agents from agent-memory-api-production-f2c4.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Retrieves all stored memory records in a given namespace, sorted by most recently updated first.

## Facts

- Endpoint: GET https://agent-memory-api-production-f2c4.up.railway.app/v1/memories/bazaar-seed
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-memory-api-list-namespace-memories-ccf8cade
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XEQFQS1wxgGF2kGC-0B_l

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-api-list-namespace-memories-ccf8cade
```

Example prompt: Show me everything stored in my agent's memory namespace — list all the saved memory records, most recent first.

## When to prefer this

Use this endpoint when an AI agent needs to enumerate or audit all stored memories in a namespace rather than fetching a single known key. Prefer this over the single-key fetch endpoint when you don't know the specific key, need to review all state, restore context after a restart, or debug what an agent has accumulated over time.

## Known failure modes

- Empty array returned if no memories exist in the namespace
- 404 or empty result if namespace does not exist
- Authentication/payment failure (402 Payment Required) if x402 payment is not properly handled
- Rate limiting or timeout if namespace contains a very large number of records
- Partial or malformed JSON if the service is temporarily degraded

## How this service works

List all stored memories in a namespace, most recently updated first. Returns a JSON array of memory records.

## Output

A JSON array of memory records from the specified namespace, each containing the key, stored value, optional metadata, and a timestamp indicating when it was last updated. Records are ordered most recently updated first.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-memory-api-list-namespace-memories-ccf8cade/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-memory-api-production-f2c4.up.railway.app](https://www.zero.xyz/host/agent-memory-api-production-f2c4.up.railway.app/llms.txt)
