{"uid":"cap_ESZwDWrQDGVQ839aYslLK","slug":"port-402-memory-read-f7223c8a","name":"Port 402 Memory Read","description":"Pay-per-use infrastructure for autonomous AI agents. No account, no API key: pay each call with x402.","url":"https://port-402-production.up.railway.app/v1/memory/%7Bkey%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"key":"notes","value":{"task":"remember this"}}},"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_3S6hF8GPE3v0W2CS5I6Et","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":"Retrieves a stored value from a persistent key-value memory store for an AI agent, paid per-call via x402 micropayment.","exampleAgentPrompt":"Retrieve what I stored in my agent memory under the key 'notes' and tell me what's there.","exampleUseCases":[{"title":"Resuming a task mid-session","prompt":"I need to pick up where I left off — can you read back whatever is stored in my agent memory under the key 'current_task' so we can continue?"},{"title":"Checking a saved preference","prompt":"Look up what I stored in my persistent memory under the key 'user_preferences' and tell me what it says."},{"title":"Verifying a previously remembered value","prompt":"Did I save anything under the key 'meeting_notes' in my agent memory? If so, what does it say?"}],"resultDescription":"Returns a JSON object containing the requested memory key and its associated stored value, e.g. {\"key\": \"notes\", \"value\": {\"task\": \"remember this\"}}. If the key exists, the full value object is returned. Payment of $0.001 USDC is charged per successful call via x402.","failureModes":["Key not found: returns an error or null value if the specified key does not exist in memory","Invalid key format: malformed key string may result in a bad request response","Payment failure: x402 micropayment not completed or insufficient USDC balance causes the call to be rejected","Unauthorized access: attempting to read a key belonging to a different agent session may be denied","Service unavailability: Railway-hosted backend downtime may cause 5xx errors"],"whenToPreferThis":"Use this endpoint when an AI agent needs to retrieve a specific named value from its own persistent key-value memory store and knows the exact key. Prefer this over the list-keys endpoint when you already know the key name and want a direct lookup. Ideal for stateful agentic workflows where agents persist intermediate state, user preferences, or task context between sessions, and want to recall it in a future call without maintaining local state.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:36:02.441Z","isFirstParty":false,"canonicalSlug":"port-402-memory-read-f6e2f619"}