{"uid":"cap_na1RlxnZGjuIugzEQrawe","slug":"syar-memory-query-8f4b0cbd","name":"SYAR Memory Query","description":"Semantic memory service payable via x402. Agents can write and query long-term memories isolated by wallet.","url":"https://syar-memory-proxy.lorenzo-amirante98.workers.dev/memory-query","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"limit":{"type":"integer","description":"Max number of results to return (default 5)"},"query":{"type":"string","description":"The search query text"}}},"responseSchema":{"type":"object","required":["memories"],"properties":{"memories":{"type":"array","items":{"type":"object"}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_erbx31ivRgmcudY8rejHZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Semantically query long-term agent memories isolated by wallet address, returning relevant stored memories for a given search query.","exampleAgentPrompt":"Search my SYAR memory store for anything I've previously remembered about 'project deadlines' and return the top 3 most relevant memories.","exampleUseCases":[{"title":"Recall user preferences for personalization","prompt":"Check my agent's memory for anything stored about my food preferences or dietary restrictions — return up to 5 results."},{"title":"Resume a previous task context","prompt":"Search my long-term memories for notes related to the 'Q3 marketing campaign' so I can pick up where I left off — top 3 results please."},{"title":"Retrieve past research findings","prompt":"Query my SYAR memory for anything I've stored about 'climate change statistics' and give me the 5 most semantically relevant memories."}],"resultDescription":"Returns a JSON object containing a 'memories' array of memory objects semantically relevant to the query, ranked by relevance, up to the specified limit (default 5). Each memory object contains the stored memory data associated with the querying wallet.","failureModes":["Missing required 'query' field returns a 400 validation error","No matching memories found returns an empty 'memories' array","Payment not provided or insufficient (x402 payment required at $0.005 USDC) results in a 402 Payment Required response","Invalid limit value may cause a 400 error","Wallet not recognized or no memories written yet returns empty results","Cloudflare Worker timeout or downtime returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to semantically search its own isolated long-term memory store, retrieving past memories relevant to a current task or query. It is ideal for agents that previously wrote memories to the SYAR service and need to recall context across sessions, with per-wallet isolation ensuring memories are private to each agent. Prefer this over generic vector databases when you need a ready-made, pay-per-call semantic memory service without managing your own infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:56.494Z","isFirstParty":false}