v2

latestOpenAPI 3.1.02026-08-0382170235.8 KB
contradiction
contradiction

Resolve a contradiction

Resolve a contradiction by mutating the edge type.

The edge type changes from 'contradicts' to 'resolved_contradiction'. This means:

  • GET /edges?type=contradicts will no longer return this edge
  • GET /edges?type=resolved_contradiction will include it
  • Query results will no longer show this as an active contradiction

Resolution types:

  • confirmed_a: from_id is correct (+0.08), to_id is incorrect (-0.10)
  • confirmed_b: to_id is correct (+0.08), from_id is incorrect (-0.10)
  • both_valid: Both facts are valid in different contexts (no score change)
  • needs_update: Source documents need updating (flags both for review)
  • dismissed: False positive (reduces edge weight)
post/pots/{pot_id}/edges/{edge_id}/resolve

Path parameters

pot_idstring uuid required
edge_idstring required

Request body

resolution_type'confirmed_a' | 'confirmed_b' | 'both_valid' | 'needs_update' | 'dismissed' required

Types of resolution for a contradiction edge.

contributor_idstring uuid required

Contributor registry ID (must be a registered, active contributor)

notesstring nullable

Notes about the resolution

Response

Contradiction resolved successfully

edge_idstring required
previous_typestring required

Edge type before mutation

new_typestring required

Edge type after mutation

resolution_typestring nullable

Resolution type (None on revert)

resolved_by_namestring nullable

Who resolved

resolved_by_contributor_idstring uuid nullable

Contributor registry ID of resolver

resolved_atstring date-time nullable

When resolved