Skip to content

Update Knowledge Edge

PATCH /knowledge-edges/{edge_id}

Confirm or reject a proposal, and record who ruled and when.

Confirming a contradicts relation demotes both items it touches, in the same request. A promoted claim that is now disputed must stop being served as settled, and “surface it in the health report and let somebody demote it later” is a design where the wrong answer is served for as long as the queue is (annex 10 §5.3).

NameInTypeNotes
edge_idpathstring (uuid)required—
FieldTypeNotes
statusproposed | confirmed | rejected | nulloptional—
criticalitylow | normal | high | nulloptional—
notesstring | nulloptionalmax length 2000
StatusDescriptionBody
200Successful ResponseKnowledgeEdgeView
422Validation ErrorHTTPValidationError
Terminal window
curl -X PATCH https://your-deployment.example.com/knowledge-edges/{edge_id} \
-H "Authorization: Bearer $COBRE_TOKEN"
FieldTypeNotes
idstring (uuid)required—
from_item_idstring (uuid)required—
to_item_idstring (uuid)required—
kindpart_of | supports | contradicts | derived_from | supersedes | relates_to | answers | shares_topicrequired—
statusproposed | confirmed | rejectedrequired—
criticalitylow | normal | highrequired—
notesstring | nullrequired, nullable—
created_byagent | human | maintenancerequired—
curated_by_idstring (uuid) | nullrequired, nullable—
curated_atstring (date-time) | nullrequired, nullable—
created_atstring (date-time)required—
updated_atstring (date-time)required—