Skip to main content
GET /openapi/memorylake/api/v2/projects/{id}/memories/conflicts/{conflictId}
Returns the full record for one conflict. You always get the memory snapshots captured at detection time. For memory-vs-document (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.

Path Parameters

id
string
required
Project ID
conflictId
string
required
Conflict ID
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v2/projects/proj-a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6/memories/conflicts/conf-abc123' \
  -H 'Authorization: Bearer sk_xxxxxx'

Response

data
object
{
  "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": ["mem-001", "mem-002"],
    "memory_snapshots": [
      {
        "memory_id": "mem-001",
        "memory_text": "User prefers spicy food"
      },
      {
        "memory_id": "mem-002",
        "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.