cURL
curl --request POST \ --url https://localhost:8000/v1/mcp/add_session_memory \ --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": {} }'
{ "status": 123, "error_msg": "<string>" }
Adds a memory episode directly using the session data provided in the NewEpisode object. This endpoint is for internal use by LLMs via FastMCP.
NewEpisode
Show child attributes
Status 0 if the memory was added successfully.