curl --request POST \
--url https://api.recallrai.com/api/v1/users/{custom_user_id}/merge-conflicts/{conflict_id}/resolve \
--header 'Content-Type: application/json' \
--header 'X-Recallr-Api-Key: <x-recallr-api-key>' \
--header 'X-Recallr-Project-Id: <x-recallr-project-id>' \
--data '
{
"question_answers": [
{
"question": "<string>",
"answer": "<string>",
"message": "<string>"
}
]
}
'{
"conflict": {
"conflict_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_user_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"conflicting_memories": [
{
"memory_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": "<string>",
"reason": "<string>",
"event_date_start": "2023-11-07T05:31:56Z",
"event_date_end": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
],
"clarifying_questions": [
{
"question": "<string>",
"options": [
"<string>"
]
}
],
"resolution_data": {
"question_answers": [
{
"question": "<string>",
"answer": "<string>",
"message": "<string>"
}
]
},
"created_at": "2023-11-07T05:31:56Z",
"resolved_at": "2023-11-07T05:31:56Z",
"proposed_memory_content": "<string>",
"new_memories": [
{
"memory_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": "<string>",
"event_date_start": "2023-11-07T05:31:56Z",
"event_date_end": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}Resolve Merge Conflict
Resolve a memory merge conflict by answering clarifying questions.
Submit answers to the AI-generated clarifying questions to resolve memory conflicts. The system will use your answers to determine how to merge or update the conflicting memories. After resolution, the conflict status changes to IN_QUEUE for processing.
Path Parameters:
custom_user_id(str): Unique identifier for the user owning the merge conflictconflict_id(UUID): Merge conflict UUID to resolve
Body Parameters:
answers(UserResponseMergeConflictQuestionAnswers): List of question-answer pairs matching the clarifying questions
Returns:
conflict(MergeConflictInfo): Updated conflict with resolution_data, IN_QUEUE status, and resolved_at timestamp
curl --request POST \
--url https://api.recallrai.com/api/v1/users/{custom_user_id}/merge-conflicts/{conflict_id}/resolve \
--header 'Content-Type: application/json' \
--header 'X-Recallr-Api-Key: <x-recallr-api-key>' \
--header 'X-Recallr-Project-Id: <x-recallr-project-id>' \
--data '
{
"question_answers": [
{
"question": "<string>",
"answer": "<string>",
"message": "<string>"
}
]
}
'{
"conflict": {
"conflict_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_user_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"conflicting_memories": [
{
"memory_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": "<string>",
"reason": "<string>",
"event_date_start": "2023-11-07T05:31:56Z",
"event_date_end": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
],
"clarifying_questions": [
{
"question": "<string>",
"options": [
"<string>"
]
}
],
"resolution_data": {
"question_answers": [
{
"question": "<string>",
"answer": "<string>",
"message": "<string>"
}
]
},
"created_at": "2023-11-07T05:31:56Z",
"resolved_at": "2023-11-07T05:31:56Z",
"proposed_memory_content": "<string>",
"new_memories": [
{
"memory_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": "<string>",
"event_date_start": "2023-11-07T05:31:56Z",
"event_date_end": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://docs.recallrai.com/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Custom user ID owning the merge conflict
ID of the merge conflict to resolve
Body
Answers to clarifying questions
Show child attributes
Show child attributes
Response
Merge conflict resolved successfully
Response after resolving a merge conflict.
Information about a merge conflict.
Show child attributes
Show child attributes
Was this page helpful?