Add Memory to Session
Add memory to the specified session.
Path parameters
sessionId
The ID of the session to which memory should be added.
Headers
Authorization
Header authentication of the form Api-Key <token>
Request
This endpoint expects an object.
messages
A list of message objects, where each message contains a role and content.
fact_instruction
Deprecated
ignore_roles
Optional list of role types to ignore when adding messages to graph memory. The message itself will still be added retained and used as context for messages that are added to a user’s graph.
return_context
Optionally return memory context relevant to the most recent messages.
summary_instruction
Deprecated
Response
An object, optionally containing memory context retrieved for the last message
context