Update edge
Updates one edge. When the edge belongs to a hyperedge, changing fact rewrites it on every member of that hyperedge in one all-or-nothing write, because the members share it. Attribute-only edits touch this edge alone.
Authentication
AuthorizationApi-Key
Type "Api-Key" followed by a space and the project API key.
Path parameters
graph_uuid
Graph UUID
edge_uuid
Edge UUID
Request
Request body
attributes
Additional attributes to merge onto the edge; a key set to null is removed.
fact
The fact text describing the relationship between the source and target
nodes.
Response
OK
attributes
Additional attributes of the edge.
created_at
The time the edge was created.
episode_uuids
The episodes this edge was derived from.
expired_at
The time the fact was superseded or removed.
fact
The natural-language fact this edge represents.
graph_uuid
The unique identifier of the graph this edge belongs to.
hyperedge_uuid
The unique identifier of the hyperedge this edge is a member of. Omitted
when the edge is not part of a hyperedge.
invalid_at
The time at which the fact stopped being true.
name
The name of the edge, in upper snake case, for example RELATES_TO.
relevance
A cross-encoder-derived relevance score, present only when the cross-encoder reranker scored this result; like score, it is omitted from plain list results.
scope
The kind of edge this is, for example entity or episodic.
score
The ranking score returned with every search result; omitted when the edge appears in a plain list rather than a search result.
source_node_labels
The current labels of the source node. This is read at request time rather
than stored on the edge, and is omitted when the source node cannot be
resolved.
source_node_name
The current name of the source node. This is read at request time rather
than stored on the edge, and is omitted when the source node cannot be
resolved.
source_node_uuid
The unique identifier of the edge's source node.
target_node_labels
The current labels of the target node. This is read at request time rather
than stored on the edge, and is omitted when the target node cannot be
resolved.
target_node_name
The current name of the target node. This is read at request time rather
than stored on the edge, and is omitted when the target node cannot be
resolved.
target_node_uuid
The unique identifier of the edge's target node.
uuid
The unique identifier of the edge.
valid_at
The time from which the fact is considered true.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error