The Context Engine Studio is now open source.  View on GitHub →
Clinia
Graph

Get edge

Technical preview
GET
/v1/patients/{patientId}/graph/edges/{type}/items/{edgeId}

Returns a single edge from the patient context graph by id

Authorization

Bearer read
AuthorizationBearer <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"
edgeId*string

An edge id: its type's prefix, _, then the underlying id. Supported prefixes: rd (resolution_decision), rslv (resolves_to), ci (chunked_into), rel (relationship).

Match^(rd|rslv|ci|rel)_[a-z][0-9a-z]{23}$

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/patients/string/graph/edges/resolution_decision/items/string"
{  "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"      }    ]  }}