curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws-8001856949ad4f6a5b6226f415ffa877/agents/agent-f8bf71ab17ed8eccad8c0e8ae708273f/memories/conflicts/conf-def456' \ -H 'Authorization: Bearer sk_xxxxxx'
{ "success": true, "data": { "id": "conf-def456", "name": "Contradicting time zone rule", "description": "One fact says to report times in UTC; another says to report them in the customer's local time.", "category": "m2m", "resolved": true, "resolve": { "id": "res-1a2b3c4d", "strategy": "keep_fact", "keep_fact_id": "fact-4d89ead72a591e8c6abbf68f99edf5e2", "forgotten_fact_ids": ["fact-91263517847b3371a69814787441263f"], "created_at": "2025-01-21T09:15:00Z" }, "stale": false, "conflict_type": "logical", "fact_ids": ["fact-4d89ead72a591e8c6abbf68f99edf5e2", "fact-91263517847b3371a69814787441263f"], "fact_snapshots": [ { "fact_id": "fact-4d89ead72a591e8c6abbf68f99edf5e2", "fact_text": "Reports times in UTC" }, { "fact_id": "fact-91263517847b3371a69814787441263f", "fact_text": "Reports times in the customer's local time" } ], "file_chunks": [], "created_at": "2025-01-20T14:30:00Z", "updated_at": "2025-01-21T09:15:00Z" }}
Memory Conflicts
Get Agent Memory Conflict
Retrieve the full details of a single memory conflict among an agent’s facts
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws-8001856949ad4f6a5b6226f415ffa877/agents/agent-f8bf71ab17ed8eccad8c0e8ae708273f/memories/conflicts/conf-def456' \ -H 'Authorization: Bearer sk_xxxxxx'
{ "success": true, "data": { "id": "conf-def456", "name": "Contradicting time zone rule", "description": "One fact says to report times in UTC; another says to report them in the customer's local time.", "category": "m2m", "resolved": true, "resolve": { "id": "res-1a2b3c4d", "strategy": "keep_fact", "keep_fact_id": "fact-4d89ead72a591e8c6abbf68f99edf5e2", "forgotten_fact_ids": ["fact-91263517847b3371a69814787441263f"], "created_at": "2025-01-21T09:15:00Z" }, "stale": false, "conflict_type": "logical", "fact_ids": ["fact-4d89ead72a591e8c6abbf68f99edf5e2", "fact-91263517847b3371a69814787441263f"], "fact_snapshots": [ { "fact_id": "fact-4d89ead72a591e8c6abbf68f99edf5e2", "fact_text": "Reports times in UTC" }, { "fact_id": "fact-91263517847b3371a69814787441263f", "fact_text": "Reports times in the customer's local time" } ], "file_chunks": [], "created_at": "2025-01-20T14:30:00Z", "updated_at": "2025-01-21T09:15:00Z" }}
GET /openapi/memorylake/api/v3/workspaces/{workspaceId}/agents/{agentId}/memories/conflicts/{conflictId}
Returns the complete record for a single conflict, including the fact snapshots captured at detection time, any document excerpts involved, and the resolution record if the conflict has been resolved.