edges
edges
Create edges between facts
Changed onCreate 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), at most EDGE_CREATE_BATCH_MAX (100) per request
Returns the created edges and triggers POT Score propagation. Sent with X-Episode-ID (point 6), every edge records that episode and is linked to it.
post/pots/{pot_id}/edges
Request
- Base URLhttps://api.scipot.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
pot_idstring uuid required
Request body
Response
Edges created successfully
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- warning
added the new
restatesenum value to the//response property for the response status - info
added the new
restatesenum value to the request property/ - info
added the optional property
//to the response with the status
- warning