{"uid":"cap_lbkASQeMhuZCayLoyaaQn","slug":"agent-persistent-memory-list-all-keys-6f46c145","name":"Agent Persistent Memory - List All Keys","description":"List all keys stored in your namespace, with sizes and timestamps. Companion to /memory/set and /memory/get for agent persistent memory.","url":"https://jp-data-api-production.up.railway.app/memory/list","method":"GET","headers":{},"bodySchema":{"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":["ns"],"properties":{"ns":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6Hy-nymW3qZ6wQLsDAYr9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Lists all keys stored in a named namespace, returning sizes and timestamps for each stored memory entry.","exampleAgentPrompt":"Show me all the keys I have stored in the 'agent-session-42' namespace, including their sizes and timestamps.","exampleUseCases":null,"resultDescription":"A list of all keys within the specified namespace, each with its associated size (in bytes or similar unit) and timestamp indicating when it was stored or last updated. This gives agents a complete inventory of what is currently held in persistent memory.","failureModes":["Missing 'ns' query parameter — returns error indicating namespace is required","Namespace does not exist or is empty — may return an empty list or 404","Payment not processed or insufficient funds — x402 payment required error","Service unavailable on Railway — 502/503 gateway error"],"whenToPreferThis":"Use this endpoint when an agent needs to discover or audit what keys already exist in a persistent memory namespace before performing get or set operations. Ideal for memory management, debugging, or when the agent needs to enumerate stored state without knowing exact key names in advance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:42:01.837Z","isFirstParty":false}