Endpoint
Authentication
Request body
Fields
Response
Response schema
Top-level fields
Which fields stop an answer?
For an answer that depends on MemoryOS state, inspect the first group before constructing the model request. The second group supports UI/telemetry; it does not independently authorize or forbid inference.
A card can accompany a visibility hold. Its presence alone is not a blanket stop for unrelated questions, and its absence is not proof that a held fact is safe. Check the decision signals first. See the chat lifecycle for processing-state UX.
Check visibility before model inference
Apply the visibility gate before consumingdata or system_prompt_addition. A successful HTTP response, a completed job or a nonempty prompt is not permission to answer from unavailable state. Typed reads also require handling preference_scope_request and preference_decisions.
Resolve a clarification in your existing chat
Show the backend-provided choices in your existing chat and submit the actual user selection. See the clarification answer endpoint for the complete request, response and refusal contract.Review an uncertain source statement in your existing chat
Presentsource_reviews as separate decision cards, including during a hold. Use the actual user choice and the card’s opaque version. See the source-review answer endpoint for keep_current, restate, dismiss and stale/busy handling. Pending previews are not active model context.
MemorySearchResult
Send retrieval feedback
Use retrieval feedback to report use, relevance or an actual user correction. Feedback is asynchronous; a correction receipt is not proof that current memory changed.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: