Get Session Memory
Returns a memory for a given session.
Path parameters
sessionId
The ID of the session for which to retrieve memory.
Headers
Authorization
Header authentication of the form Api-Key <token>
Query parameters
lastn
The number of most recent memory entries to retrieve.
minRating
The minimum rating by which to filter relevant facts.
Response
OK
context
Memory context containing relevant facts and entities for the session. Can be put into the prompt directly.
facts
Deprecated: Use relevant_facts instead.
messages
A list of message objects, where each message contains a role and content. Only last_n messages will be returned
metadata
Deprecated
relevant_facts
Most relevant facts to the recent messages in the session.
summary
Deprecated: Use context string instead.