Skip to main content
POST
Store memory

Body

application/json
user_id
string
required

User identifier. Required for all operations.

messages
object[]
required

One or more conversation messages to store.

app_id
string | null

Optional application namespace.

workspace_id
string | null

Optional workspace or team namespace.

agent_id
string | null

Optional agent namespace.

Response

200 - application/json

Memories stored successfully

stored
integer

Number of messages stored.

memory_ids
string[]

IDs of the created memory records.