Skip to main content
POST
/
memories
/
episodic
Add Episodic Memory
curl --request POST \
  --url http://localhost:8080/v1/memories/episodic \
  --header 'Content-Type: application/json' \
  --data '{
  "session": {
    "group_id": "<string>",
    "agent_id": [
      "<string>"
    ],
    "user_id": [
      "<string>"
    ],
    "session_id": "<string>"
  },
  "producer": "<string>",
  "produced_for": "<string>",
  "episode_content": "<string>",
  "episode_type": "<string>",
  "metadata": {}
}'

Body

application/json

Data model for adding a new memory episode.

session
object
required

The session context for the episode.

producer
string
required

The ID of the entity that produced the content.

produced_for
string
required

The ID of the entity the content was produced for.

episode_content
required

The content, either as raw text or an embedding vector.

episode_type
string
required

The type of content (e.g., 'dialog', 'summary').

metadata
object | null

Optional arbitrary metadata.

Response

Memory successfully added to episodic memory.