Skip to main content
POST
Add Memories

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Specification model for adding memories.

messages
MemoryMessage · object[]
required

A list of messages to be added (batch input). Must contain at least one message.

Minimum array length: 1
project_id
string
default:""

The identifier of the project. If empty, the user's default project is used.

Maximum string length: 255
Pattern: ^[\p{L}\p{N}_:-]*$
types
enum<string>[]

A list of memory types to add (e.g., episodic, semantic). If empty, all available types are added.

Memory type.

Available options:
semantic,
episodic
Example:

Response

Successful Response

Response model for adding memories.

results
AddMemoryResult · object[]
required

The list of results for each added memory message.