ReferenceKnowledge quality

Resolve a contradiction

Writes your decision back to the graph and records who made it.

ResolutionMeaning
accept_incomingThe new value is correct; supersede the old source
keep_existingThe current value is correct; flag the new source
both_validBoth were true at different times — record a transition
ignoreNot a real conflict; dismiss

both_valid is the one people forget. Use it when someone changed jobs or a deal legitimately moved stage: it preserves the history instead of erasing it.

POST
/api/v1/memory/contradictions/{contradiction_id}/resolve

Authorization

x-api-key<token>

A platform key (ck_live_…) — reaches every memory in the tenant.

In: header

Path Parameters

contradiction_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/memory/contradictions/string/resolve" \  -H "Content-Type: application/json" \  -d '{    "resolution": "accept_incoming"  }'
{  "contradiction_id": "string",  "entity_id": "string",  "entity_name": "string",  "attribute": "string",  "type": "value_conflict",  "severity": "low",  "existing": {    "value": "string",    "confidence": 0.1,    "source_id": "string",    "recorded_at": "2019-08-24T14:15:22Z"  },  "incoming": {    "value": "string",    "confidence": 0.1,    "source_id": "string",    "recorded_at": "2019-08-24T14:15:22Z"  },  "status": "pending",  "resolution": "accept_incoming",  "created_at": "2019-08-24T14:15:22Z"}
Was this page helpful?
Report an issue