Case Edges
List the linking edges inside a case and confirm or reject each one. Edges are the shared-value links that connect documents, and verdicts persist.
Edges are the individual links that hold a case together: each edge joins a pair of documents through a shared field value, such as the same po_number appearing on an invoice and a purchase order. List a case's edges to audit why its documents are grouped, then confirm correct links or reject wrong ones.
Each edge carries the joining field (via_field), the shared value (link_value), an edge kind (for example reference_resolution or value_sibling), and a confidence score. Verdicts are curator feedback: a rejected edge suppresses that field-value anchor in the next case rebuild, so a value that wrongly glued unrelated documents together (a hub entity every document shares) stops forming links.
/v1/cases/:key/edgesResponse
Response fields
Response
{
"data": [
{
"id": "edge_uuid_1",
"doc_a": "doc_uuid_1",
"doc_b": "doc_uuid_2",
"via_field": "po_number",
"link_value": "PO-2024-001",
"kind": "reference_resolution",
"confidence": 0.92,
"verdict": null
}
]
}/v1/cases/:key/edges/:edgeId/confirmResponse
Returns the updated edge with its verdict set.
Response
{
"id": "edge_uuid_1",
"via_field": "po_number",
"link_value": "PO-2024-001",
"verdict": "confirmed",
"verdict_at": "2024-11-08T10:00:00.000Z"
}/v1/cases/:key/edges/:edgeId/rejectResponse
Returns the updated edge with verdict set to rejected. From the next rebuild onward, the rejected field-value anchor no longer forms links in this case.
Errors
Error responses