Overview
When RecallrAI processes sessions, it may detect conflicts between new memories and existing ones. The SDK provides tools to handle these merge conflicts through clarifying questions.List Merge Conflicts
Filter by status:
PENDING, IN_QUEUE, RESOLVING, RESOLVED, or FAILED.Resolve a Merge Conflict
MergeConflictNotFoundError, MergeConflictAlreadyResolvedError, MergeConflictInvalidQuestionsError, MergeConflictMissingAnswersError, MergeConflictInvalidAnswerError.
MergeConflict Object Fields
Each conflict object contains:id: Unique conflict identifierprojectUserSessionId: Session that triggered the conflictproposedMemoryContent: The proposed memory content that caused the conflict (optional)conflictingMemories: Array of existing memories that conflict, each containing:memoryId: ID of the conflicting memorycontent: Memory contentreason: Why this memory conflicts with the new oneeventDateStart: UTCDatewhen the event startedeventDateEnd: UTCDatewhen the event endedcreatedAt: UTCDatewhen the memory was recorded
clarifyingQuestions: Array of questions to help resolve the conflict, each containing:question: The question textoptions: Array of possible answer strings
status: Current conflict status (PENDING,IN_QUEUE,RESOLVING,RESOLVED,FAILED)createdAt: UTCDatewhen the conflict was createdresolvedAt: UTCDatewhen resolved (optional)

