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
}
}
{
"detail": "Invalid summary identifier"
}
{
"detail": "Missing session token. Use X-Session-Token header."
}
AI Generation
Generate Daily Summary
Generate the on-demand daily AI summary for an agent/date.
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
}
}
{
"detail": "Invalid summary identifier"
}
{
"detail": "Missing session token. Use X-Session-Token header."
}
Overview
Generates an AI-written summary of an agent’s session memories for a given date, and triggers a memory export to refresh the localmemory.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 orAuthorization header.
string
required
Session token from Activate Agent. Must match
agent_id.Path Parameters
string
required
The unique identifier of the agent.
Body
string
Date string
YYYY-MM-DD. Defaults to today (UTC) 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
}
}
{
"detail": "Invalid summary identifier"
}
{
"detail": "Missing session token. Use X-Session-Token header."
}
Next Steps
- Generate Conflict Report to run conflict detection for the same date
- List Conflicts to inspect any conflicts already detected