curl -X POST "https://api.memanto.ai/agents/my-agent/conflicts/resolve" \
-H "x-api-key: $MEMANTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"date": "2026-11-18",
"conflict_index": 0,
"action": "keep_new"
}'
{
"agent_id": "my-agent",
"date": "2026-11-18",
"action": "keep_new",
"status": "resolved",
"deleted": "3f2a…"
}
Conflicts
Resolve Conflict
Resolve one conflict by its index.
POST
/
agents
/
{agent_id}
/
conflicts
/
resolve
curl -X POST "https://api.memanto.ai/agents/my-agent/conflicts/resolve" \
-H "x-api-key: $MEMANTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"date": "2026-11-18",
"conflict_index": 0,
"action": "keep_new"
}'
{
"agent_id": "my-agent",
"date": "2026-11-18",
"action": "keep_new",
"status": "resolved",
"deleted": "3f2a…"
}
Overview
Resolves one conflict.action is one of:
| Action | Result |
|---|---|
keep_new / keep_old | Delete the other memory. |
keep_both | Change nothing; mark the conflict resolved. |
expire_old / expire_new / expire_both | Expire the memory or memories (reversible). |
remove_both | Delete both memories. |
manual | Store manual_content as a new memory (provenance: corrected, tag conflict-resolution), then delete both originals. If storing fails, both originals are kept. |
Authentication
Your Memanto Cloud API key (
mk_...). See Authentication.Path Parameters
Body
The conflict’s
index from List Conflicts.curl -X POST "https://api.memanto.ai/agents/my-agent/conflicts/resolve" \
-H "x-api-key: $MEMANTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"date": "2026-11-18",
"conflict_index": 0,
"action": "keep_new"
}'
{
"agent_id": "my-agent",
"date": "2026-11-18",
"action": "keep_new",
"status": "resolved",
"deleted": "3f2a…"
}