Endpoint
Authentication
Request body
Fields
Response
Response schema
Top-level fields
MemorySearchResult
Send retrieval feedback
Feedback is optional but recommended. It closes the quality loop after your agent uses retrieved memory. Use it when:- the retrieved context helped the agent answer correctly
- the agent ignored a memory because it was not useful
- the user corrected the agent
- the agent had to ask for clarification because context was missing
Successful use
User correction
correction_job_id means MemoryOS queued an async retrospective extraction pass. It does not block the user response.
format examples
The format value controls how MemoryOS renders both context_snippet and system_prompt_addition.
bullets
json
xml
Context token limit
Usecontext_max_tokens to limit the size of system_prompt_addition.
Domain-aware retrieval
If a tenant has a domain schema enabled, the same retrieve endpoint returns domain-aware context insystem_prompt_addition.
For example, an EdTech tenant may receive tutoring context about exam goals, weak topics, learning style, or forgetting-stage review urgency.
The request shape does not change: