Skip to main content
POST
/
api
/
v2
/
agents
/
{agent_id}
/
daily-summary
curl -X POST "http://localhost:8000/api/v2/agents/my-agent/daily-summary" \
  -H "X-Session-Token: your_session_token" \
  -H "Content-Type: application/json" \
  -d '{"date": "2026-05-08"}'
{
  "agent_id": "my-agent",
  "session_id": "sess_abc123",
  "date": "2026-05-08",
  "summary": {
    "status": "success",
    "summary_path": "~/.memanto/summaries/my-agent_2026-05-08.md"
  },
  "export": {
    "status": "success",
    "total_memories": 42
  }
}

Overview

Generates an AI-written summary of an agent’s session memories for a given date, and triggers a memory export to refresh the local memory.md cache. Conflict detection is a separate concern — see Generate Conflict Report or the scheduled job.

Authentication

API clients do not send an API key or Authorization header.
X-Session-Token
string
required
Session token from Activate Agent. Must match agent_id.

Path Parameters

agent_id
string
required
The unique identifier of the agent.

Body

date
string
Date string YYYY-MM-DD. Defaults to today on the server when omitted.
curl -X POST "http://localhost:8000/api/v2/agents/my-agent/daily-summary" \
  -H "X-Session-Token: your_session_token" \
  -H "Content-Type: application/json" \
  -d '{"date": "2026-05-08"}'
{
  "agent_id": "my-agent",
  "session_id": "sess_abc123",
  "date": "2026-05-08",
  "summary": {
    "status": "success",
    "summary_path": "~/.memanto/summaries/my-agent_2026-05-08.md"
  },
  "export": {
    "status": "success",
    "total_memories": 42
  }
}

Next Steps