Memory

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.
messages
list of objectsRequired
A list of message objects, where each message contains a role and content.
fact_instruction
stringOptional
Additional instruction for generating the facts.
summary_instruction
stringOptional
Additional instruction for generating the summary.

Response

This endpoint returns an object
message
stringOptional

Errors