API ReferenceREST API
Get resolution report
Returns the full entity resolution report for a patient, including every resolved entity with its provenance trace, source contributions, field-level conflict resolutions, and merge confidence scores.
Path Parameters
patientId*string
Registry key of the patient, as assigned by the caller when the first ingest was submitted.
Match
^[A-Za-z0-9._-]{1,128}$Response Body
application/json
application/json
curl -X GET "https://example.com/v1/patients/patient-123/resolution"{
"summary": {
"totalEntities": 0,
"totalEvents": 0,
"mergedEntities": 0,
"warningCount": 0,
"loadMs": 0
},
"merged": [
{
"id": "string",
"type": "string",
"display": "string",
"resolvedBy": "string",
"confidence": 0,
"reasoning": "string",
"sources": [
{
"origin": "string",
"type": "string",
"reliability": 0
}
],
"conflicts": [
{
"field": "string",
"values": [
{
"value": "string",
"source": "string"
}
],
"winner": "string",
"strategy": "string",
"explanation": "string"
}
]
}
],
"warnings": [
{
"source": "string",
"id": "string",
"message": "string",
"severity": "string"
}
],
"error": "string"
}{
"code": 1,
"type": "ALREADY_EXISTS",
"message": "string"
}Delete patient DELETE
Removes a patient and all associated entities, events, and relationships from the registry. Irreversible.
Get reconciliation summary GET
Returns the post-pipeline reconciliation summary including entity merge stats, inferred relationships, and post-processing actions (reclassify, infer-status, link-symptom, filter). Defaults to Markdown; pass `?format=json` for structured data.