Clinia
API ReferenceREST API

List ingest executions

GET
/v1/patients/{patientId}/ingest/executions

Returns a cursor-paginated list of ingest executions for a patient, ordered by start time descending. Each item includes status, source type, delta counts, and error code if failed.

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

limit?integer

Maximum number of executions to return per page. Defaults to 50; maximum is 200.

Range0 < value <= 200
Default50
cursor?|

Pagination cursor returned as nextCursor from the previous page. Omit to start from the most recent execution.

Response Body

application/json

curl -X GET "https://example.com/v1/patients/string/ingest/executions"
{  "executions": [    {      "id": "string",      "sourceLabel": "fhir",      "status": "pending",      "startedAt": 0,      "finishedAt": 0,      "payloadHash": "string",      "deltasSummary": {        "entitiesAdded": 0,        "eventsAdded": 0,        "relsAdded": 0      },      "llmCallsUsed": 0,      "errorCode": "string",      "skippedReason": "string"    }  ],  "nextCursor": 0}