Add memory messages to a project.
The types field in the request specifies which memory types to add to:
types is empty or not provided, memories are added to all types (Episodic and Semantic)types only contains "episodic", memories are added only to Episodic memorytypes only contains "semantic", memories are added only to Semantic memorytypes contains both, memories are added to both typesEach memory message represents a discrete piece of information to be stored in the project’s memory system. Messages can include content, metadata, timestamps, and other contextual details.
The producer field indicates who created the message, while the produced_for field specifies the intended recipient. These fields help provide context for the memory and if provided should be user-friendly names.
The endpoint accepts a batch of messages to be added in a single request.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Specification model for adding memories.
A list of messages to be added (batch input).
Must contain at least one message.1A list of memory types to include in the search (e.g., Episodic, Semantic).
If empty, all available types are searched.Memory type.
semantic, episodic ["Episodic", "Semantic"]Successful Response
Response model for adding memories.
The list of results for each added memory message.