Graph
List edges
Technical previewReturns a paginated list of edges of one type from the patient context graph
Authorization
Bearer readAuthorizationBearer <token>
Each operation lists the OAuth scope (read or write) it requires.
In: header
Scope: read
Path Parameters
patientId*string
ID of the patient
Match
^[A-Za-z0-9._~:-]{1,128}$type*string
Type of edge to operate on.
Value in
- "resolution_decision"
- "resolves_to"
- "chunked_into"
- "relationship"
Query Parameters
page?|
Zero-indexed page of edges to return. Defaults to 0.
Range
0 <= valueDefault
0perPage?integer
Number of edges per page. Defaults to 100; maximum is 1000.
Range
1 <= value <= 1000Default
100touching?|array<>
Restrict results to edges touching the given node id(s). One id returns every edge touching that node, in either direction. Two ids (repeat the param, e.g. ?touching=a&touching=b) return only the edge(s) connecting exactly that pair.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/patients/string/graph/edges/resolution_decision/items"{ "data": [ { "type": "resolution_decision", "id": "string", "createdAt": "string", "updatedAt": "string", "from": { "id": "string", "type": "extracted_fact" }, "to": { "id": "string", "type": "extracted_fact" }, "payload": { "verdict": "merge", "resolution": "uncertain", "ruleId": "string", "evidence": [ { "kind": "source-ref", "layer": "source-ref-equality" } ] } } ], "meta": { "total": 0, "page": 0, "perPage": 0 }}