Sessions & Agents
Memory Operations

Resolve Conflict

Changed on

Resolve a conflict for an agent.

Uses the same underlying conflict resolution service used by CLI.

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

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

agent_idstring required

Headers

x-session-tokenstring nullable
authorizationstring nullable
X-Api-Keystring nullable

Cookies

memanto_session_tokenstring nullable

Request body

conflict_indexinteger required

Conflict index to resolve

action'keep_old' | 'keep_new' | 'keep_both' | 'remove_both' | 'expire_old' | 'expire_new' | 'expire_both' | 'manual' required

Resolution action. The keep_/remove_both/manual actions delete the losing memory permanently; the expire_ actions retire it reversibly instead, keeping its content and audit trail.

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

unknown required

Changes

    • info

      added the new optional header request parameter X-Api-Key

    • info

      added the new optional header request parameter authorization

    • info

      added the new expire_both enum value to the request property action

    2 more changes in this revision