GET /openapi/memorylake/api/v2/projects/{id}/memories/conflicts/{conflictId}
m2d) conflicts, you also get the document excerpts that contradict the memory — excerpts whose source document has since been removed from the project are dropped.
Permission required:
project:mem_read · instancePath Parameters
string
required
Project ID
string
required
Conflict ID
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v2/projects/proj-e7b262987be4589fabc60257ec2a2230/memories/conflicts/conf-abc123' \
-H 'Authorization: Bearer sk_xxxxxx'
Response
object
Show Conflict
Show Conflict
string
Conflict ID
string
Short title
string
Longer explanation of the contradiction
string
m2m (memory vs memory) or m2d (memory vs document)string
What kind of inconsistency:
logical— contradiction or tension between statements.knowledge— disagreement about facts or what was cited.
boolean
Whether the conflict has been resolved
object
Resolution record — present only when
resolved is true.boolean
Whether underlying content has changed since detection
array
Memories involved in the conflict
array
array
string
ID of the event that triggered detection
string
First detected at
string
Last updated at
{
"success": true,
"data": {
"id": "conf-abc123",
"name": "Contradicting restaurant preferences",
"description": "An earlier memory says the user prefers spicy food; a later one says they avoid it.",
"category": "m2m",
"conflict_type": "logical",
"resolved": false,
"stale": false,
"memory_ids": ["fact-7f20f052f02e642c44e79b2f371acc52", "fact-c9fe56ab6ca621340629858ab9480b09"],
"memory_snapshots": [
{
"memory_id": "fact-7f20f052f02e642c44e79b2f371acc52",
"memory_text": "User prefers spicy food"
},
{
"memory_id": "fact-c9fe56ab6ca621340629858ab9480b09",
"memory_text": "User avoids spicy food"
}
],
"file_chunks": [],
"event_id": "evt-xyz",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
}
Once you have the conflict detail, apply a decision with Resolve Memory Conflict. The returned
forgotten_memory_ids tells you which memories were removed so your UI can stay in sync.