{"uid":"cap_U07W0ncKDed9hwYJmgMun","slug":"vaaya-mem0-memory-search-b7fbbbd2","name":"Vaaya Mem0 Memory Search","description":"Give an AI agent a credit account. Set a limit and a spending policy, and the agent makes approved, metered purchases from providers that accept Vaaya.","url":"https://vaaya.ai/api/run/mem0/search","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["query","user_id"],"properties":{"query":{"type":"string","minLength":1},"top_k":{"type":"integer","exclusiveMinimum":0},"user_id":{"type":"string","minLength":1}},"additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RHQ1d5-ey8sO9FMts5l92","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches a user's stored memory in Mem0 to retrieve semantically relevant memories by query","exampleAgentPrompt":"Search my mem0 memory for user 'user_abc123' and find the top 5 memories related to 'product pricing preferences'.","exampleUseCases":[{"title":"Personalized agent response grounding","prompt":"Before replying to this user, search their memory in mem0 for anything related to 'project deadlines' — user ID is 'user_42' — and pull the top 3 results so I can personalize the response."},{"title":"CRM context recall for outreach","prompt":"Look up what we know about user 'contact_789' in mem0 by searching for 'budget constraints' — give me the top 5 memories so my outreach message is relevant."},{"title":"Returning user session continuity","prompt":"This user just came back — their ID is 'user_delta99'. Search their stored memories for anything about 'onboarding progress' and return the top 3 so I can pick up where we left off."}],"resultDescription":"Returns a ranked list of memory records matching the query for the specified user, ordered by semantic relevance. Each record typically includes the memory content and associated metadata.","failureModes":["Missing required 'query' field returns a validation error","Missing required 'user_id' returns a validation error","No matching memories returns an empty result set","Invalid or non-existent user_id may return empty results without error","top_k value of 0 or negative rejected due to exclusiveMinimum constraint","Network or upstream Mem0 service failure returns a 5xx error"],"whenToPreferThis":"Use this endpoint when your agent needs to recall past context, preferences, or facts stored in Mem0 for a specific user before generating a response or taking action. Prefer this over generic search APIs when you are working within the Mem0 memory ecosystem and need semantic similarity-based retrieval tied to a user identity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:50:23.388Z","isFirstParty":false}