Permission required:
project:mem_add · instancePath Parameters
string
required
Project ID (format:
proj-{uuid})Request Body
array
required
Array of message objects representing the conversation. Each message contains a
role (user or assistant) and content.string
Unique identifier of the user associated with this memory
string
Unique identifier of the chat session
boolean
default:"true"
Whether to infer memories from messages, or store messages directly. Defaults to
true (infer mode).object
Additional arbitrary metadata key-value pairs
Response
object