v2

latestOpenAPI 3.1.02026-08-0382170235.8 KB
edges
edges

Create edges between facts

Create one or more edges between facts in a POT.

After creating edges, runs POT Score propagation to update affected fact scores based on the new relationships.

  • pot_id: UUID of the POT
  • edges_data: List of edge definitions (from_id, to_id, type, weight, rationale)

Returns the created edges and triggers POT Score propagation.

post/pots/{pot_id}/edges

Path parameters

pot_idstring uuid required

Request body

from_idstring uuid required
to_idstring uuid required
type'supports' | 'contradicts' | 'resolved_contradiction' | 'refines' | 'derives_from' | 'is_part_of' | 'extends' | 'cites' | 'related_to' required

Types of semantic relationships between facts.

M7 uses a simplified subset. Full taxonomy in edge-types.md will be implemented in M8+ when GraphRAG is introduced.

weightnumber required
rationalestring
detected_bystring
confidencenumber

Response

Edges created successfully

totalinteger required
pot_idstring uuid required