Clinia
API ReferenceREST API

Get resolution report

GET
/v1/patients/{patientId}/resolution

Returns the fact-resolution report for a patient: a paginated list of persisted facts of every fact type with their provenance traces, source contributions, field-level conflict resolutions, and merge confidence scores. Summary counts always cover the full graph, not just the returned page.

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}$

Query Parameters

page?|

Zero-indexed page of facts to return. Defaults to 0.

Range0 <= value
Default0
perPage?integer

Number of facts per page. Defaults to 100; maximum is 1000.

Range1 <= value <= 1000
Default100

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/patients/string/resolution"
{  "summary": {    "totalFacts": 0,    "totalEvents": 0,    "mergedFacts": 0,    "warningCount": 0,    "loadMs": 0  },  "meta": {    "total": 0,    "page": 0,    "perPage": 0  },  "facts": [    {      "id": "string",      "type": "string",      "display": "string",      "provenance": {        "resolvedBy": "string",        "confidence": 0,        "reasoning": "string",        "sources": [          {            "origin": "string",            "type": "string",            "reliability": 0          }        ],        "conflicts": [          {            "field": "string",            "values": [              {                "value": "string",                "source": "string",                "date": "string"              }            ],            "winner": "string",            "strategy": "string",            "explanation": "string"          }        ]      }    }  ],  "warnings": [    {      "source": "string",      "id": "string",      "message": "string",      "severity": "string"    }  ],  "error": "string"}