v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-044334120.9 KB
Sessions & Agents
Memory Operations

Resolve Conflict

Resolve a conflict for an agent.

Uses the same underlying conflict resolution service used by CLI.

post/api/v2/agents/{agent_id}/conflicts/resolve

Path parameters

agent_idstring required

Headers

x-session-tokenstring nullable

Cookies

memanto_session_tokenstring nullable

Request body

conflict_indexinteger required

Conflict index to resolve

action'keep_old' | 'keep_new' | 'keep_both' | 'remove_both' | 'manual' required

Resolution action: keep_old, keep_new, keep_both, remove_both, manual

datestring nullable

Conflict report date (YYYY-MM-DD). Defaults to today.

manual_contentstring nullable

Required when action is 'manual'

manual_typestring nullable

Optional memory type for manual action

Response

Successful Response

{"stackTrail":"paths:/api/v2/agents/{agent_id}/conflicts/resolve:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}