GET /openapi/memorylake/api/v3/workspaces/{workspaceId}/agents/{agentId}/memories/conflicts/{conflictId}
Permission required:
workspace_agent:fact_conflict_readPath Parameters
string
required
Workspace ID
string
required
Agent ID
string
required
Conflict ID
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'
Response
object
Show Conflict object
Show Conflict object
string
Conflict identifier
string
Short title describing the conflict
string
Detailed explanation of the contradiction
string
Conflict category:
m2m (fact vs. fact) or m2d (fact vs. document)boolean
Whether the conflict has been resolved
object
Resolution record. Present only when the conflict has been resolved;
null otherwise.boolean
Whether an involved fact changed after the conflict was detected
string
Conflict type:
logical or knowledgearray
IDs of the facts involved in the conflict
array
array
string
When the conflict was first detected
string
When the conflict was last updated
{
"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"
}
}
To resolve this conflict, call Resolve Agent Memory Conflict with the strategy you want to apply.