{"uid":"cap_OnLUR64yk56dMf4TxYy4g","slug":"agent-memory-summary-api-4ea8279b","name":"Agent Memory Summary API","description":"x402-powered API: agent-memory-api","url":"https://agent-memory-api.johntaylor1online.workers.dev/memory/summary","method":"POST","headers":{},"bodySchema":{"$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"}}}}},"responseSchema":{"type":"json","example":{"memories":[{"score":0.95,"content":"Memory recall works"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hL3SBDFjWOIzTpsR-L0Y1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves a summarized, scored list of relevant memories from persistent agent memory storage","exampleAgentPrompt":"Can you retrieve a summary of my stored memories that are relevant to our current task, including their relevance scores?","exampleUseCases":[{"title":"Recall context for ongoing agent task","prompt":"Before we continue this conversation, pull up a summary of what you remember about my project preferences and past decisions, with relevance scores, so we can pick up where we left off."},{"title":"Surface high-relevance prior interactions","prompt":"What are the most relevant things you've stored in memory about my coding style and tech stack? Give me the top memories ranked by how closely they match."},{"title":"Agent self-briefing before new session","prompt":"I'm starting a new work session — summarize the most relevant memories you have stored from our previous sessions so you have context going in."}],"resultDescription":"Returns a JSON array of memory objects, each containing a relevance score (e.g. 0.95) and a content string describing the recalled memory, ordered by relevance to the query context.","failureModes":["Missing required input fields (type or method) returns a validation error","Poorly formed POST body may return 400 Bad Request","Payment not received or insufficient USDC balance causes x402 payment required response","No matching memories found may return an empty memories array","Cold-start or empty memory store returns zero results","Worker timeout or upstream failure returns 500 error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to retrieve and summarize stored memories ranked by relevance, particularly in agent-to-agent or autonomous agent workflows where persistent context across sessions is needed. It is well-suited for agentic applications built on Cloudflare Workers that use x402 micropayment infrastructure. Prefer this over full memory store dumps when you want scored, filtered summaries rather than raw memory enumeration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:41:04.500Z","isFirstParty":false}