Skip to navigation

Update hyperedge

Updates the shared fact and writes it onto every member edge in one all-or-nothing write: either every member carries the new fact or none does. Only fact is accepted, because it is the only field the members share. name belongs to each member edge, and membership changes use create_edge and delete_edge. Updating fact on one member through graph.edge.update cascades the same way.

Authentication

AuthorizationApi-Key

Type "Api-Key" followed by a space and the project API key.

Path parameters

graph_uuidstringRequired
Graph UUID
hyperedge_uuidstringRequired
Hyperedge UUID

Request

Request body
factstringOptional

The natural-language fact, rewritten onto every member edge.

Response

OK
created_atstringOptional
The time the hyperedge was created. Every member edge shares this value.
edgeslist of objectsOptional

The member edges, ordered by uuid. Each carries only its own identity and endpoints; the shared fact and timestamps are on the hyperedge.

expired_atstringOptional
The time the fact was superseded or removed.
factstringOptional

The natural-language fact this hyperedge represents. Every member edge carries the same fact.

graph_uuidstringOptional
The unique identifier of the graph this hyperedge belongs to.
invalid_atstringOptional
The time at which the fact stopped being true.
uuidstringOptional
The unique identifier of the hyperedge.
valid_atstringOptional
The time from which the fact is considered true.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
503
Service Unavailable Error