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

Get an ingestion

GET
/v1/patients/{patientId}/ingestions/{ingestionId}

One submission and where its work stands. status is derived from the work the submission started, so this is the handle to poll after submitting — it stays valid for the life of that work.

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}$
ingestionId*string

Id of the submission, as returned when it was accepted.

Length1 <= length

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/patients/string/ingestions/string"
{  "ingestionId": "string",  "source": "fhir/r4",  "mimeType": "string",  "receivedAt": "string",  "status": "pending",  "staged": {    "facts": 0,    "events": 0,    "narratives": 0  },  "intake": [    {      "unit": "resource",      "received": 0,      "entries": [        {          "kind": "string",          "label": "string",          "count": 1,          "outcome": "structured",          "reason": "unsupported"        }      ]    }  ],  "startedAt": "string",  "completedAt": "string",  "failure": {    "code": "string",    "message": "string"  }}