Add memory to the specified session.

POST
Add memory to the specified session.

Path parameters

sessionIdstringRequired
The ID of the session to which memory should be added.

Request

This endpoint expects an object.
messageslist of objectsRequired
A list of message objects, where each message contains a role and content.
fact_instructionstringOptional
Additional instruction for generating the facts. Zep Cloud Only, will be ignored on Community Edition.
summary_instructionstringOptional
Additional instruction for generating the summary. Zep Cloud Only, will be ignored on Community Edition.

Response

This endpoint returns an object.
messagestringOptional

Errors