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 }}
记忆冲突
列出 Agent 记忆冲突
返回某个 Agent 事实之间的记忆冲突分页列表
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
{ "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 }}