curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws-8001856949ad4f6a5b6226f415ffa877/agents/agent-f8bf71ab17ed8eccad8c0e8ae708273f/memories/conflicts?resolved=false&page_size=20' \ -H 'Authorization: Bearer sk_xxxxxx'
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws-8001856949ad4f6a5b6226f415ffa877/agents/agent-f8bf71ab17ed8eccad8c0e8ae708273f/memories/conflicts?page_size=50' \ -H 'Authorization: Bearer sk_xxxxxx'
{ "success": true, "data": { "items": [ { "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": false, "resolve": null, "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-20T14:30:00Z" } ], "continuation_token": null }}
Memory Conflicts
List Agent Memory Conflicts
Returns a paginated list of memory conflicts among an agent’s facts
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws-8001856949ad4f6a5b6226f415ffa877/agents/agent-f8bf71ab17ed8eccad8c0e8ae708273f/memories/conflicts?resolved=false&page_size=20' \ -H 'Authorization: Bearer sk_xxxxxx'
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws-8001856949ad4f6a5b6226f415ffa877/agents/agent-f8bf71ab17ed8eccad8c0e8ae708273f/memories/conflicts?page_size=50' \ -H 'Authorization: Bearer sk_xxxxxx'
{ "success": true, "data": { "items": [ { "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": false, "resolve": null, "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-20T14:30:00Z" } ], "continuation_token": null }}
GET /openapi/memorylake/api/v3/workspaces/{workspaceId}/agents/{agentId}/memories/conflicts
When MemoryLake extracts facts for an agent, it compares new facts against the agent’s existing facts. If a contradiction is detected, it is recorded as a memory conflict. Use this endpoint to list an agent’s conflicts, newest first, so you can surface them to users for review.You can filter by resolution status to show only unresolved conflicts that need attention, or only resolved ones for audit purposes. For conflicts within a project’s knowledge, use List Memory Conflicts instead.
Token to retrieve the next page of results. Absent when there are no more pages.
{ "success": true, "data": { "items": [ { "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": false, "resolve": null, "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-20T14:30:00Z" } ], "continuation_token": null }}