Add hyperedge
Creates one hyperedge: a fact that relates more than two nodes, written onto one member edge per node pair. The member edges must span at least three distinct nodes, since two nodes are a pair of edges rather than a hyperedge; a single pair uses graph.edge.add. Zep assigns the hyperedge identifier and every member edge identifier at accept time, and the members become readable when the task completes.
Authentication
AuthorizationApi-Key
Type "Api-Key" followed by a space and the project API key.
Path parameters
graph_uuid
Graph UUID
Request
Request body
edges
The member edges to create. Each pair becomes one edge carrying the
shared fact.
fact
The natural-language fact, written onto every member edge.
attributes
Additional attributes to store on every member edge.
expired_at
The time at which the fact was superseded or invalidated.
invalid_at
The time at which the fact stopped being true.
metadata
Metadata attached to the episode created for this hyperedge.
valid_at
The time at which the fact became true.
Response
Accepted
hyperedge
An accept-time acknowledgement of the hyperedge you submitted.
task
The asynchronous task that tracks writing the member edges.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error