Skip to content

kernel API ​

Generated from docs/openapi/kernel_openapi.json by pnpm cadence generate-api-docs. Don't edit this file by hand.

MethodPathOperationSummary
POST/api/v1/ai/biometrics/verify-livenessAiVerifyLivenessTests video frame payloads for anti-spoofing in temporary memory and returns signed liveness tokens.
GET/api/v1/ai/controlsAiListControlsThe tenant's AI kill switches and monthly token budgets.
PUT/api/v1/ai/controls/{scope}AiSetControlSwitches agents on or off for every task ('*') or one task, and sets the monthly token budget (agent_control.set).
POST/api/v1/ai/evaluation-runsAiRecordEvaluationRunStores an evaluation run record after checking it against its task configuration version, set, criteria and case results (evaluation_run.record, ADR-2634).
GET/api/v1/ai/evaluation-runs/{runId}AiGetEvaluationRunOne stored evaluation run with its record, exactly as hashed.
POST/api/v1/ai/intent/routeRouteAiIntentMatch a command-palette query against fixed patterns and return the navigation targets the caller's roles allow.
GET/api/v1/ai/runsAiListMyRunsThe caller's latest agent runs from the interaction ledger, newest first.
GET/api/v1/ai/runs/{runId}AiGetMyRunOne of the caller's agent runs with its request, answer, usage and integrity hash.
GET/api/v1/ai/tasksAiListTasksThe agent task configuration versions in this deployment, with their content hashes and the tenant's qualification of each.
GET/api/v1/ai/tasks/{key}/evaluation-runsAiListEvaluationRunsThe stored evaluation runs of a task, newest first, optionally of one version.
POST/api/v1/ai/tasks/{key}/versions/{version}/qualificationAiQualifyTaskQualifies a task configuration version on a stored, accepted evaluation run and the caller's signed approval (task_configuration.qualify, ADR-2631).
POST/api/v1/ai/tasks/{key}/versions/{version}/suspensionAiSuspendTaskTakes a qualified task configuration version out of use until it is qualified again (task_configuration.suspend).
GET/api/v1/execution/formsExecutionListEnrollmentFormsLists the forms opened for an enrollment, oldest first.
POST/api/v1/execution/formsExecutionOpenFormOpens a form for a participant's visit under the protocol version in force (collection.open).
GET/api/v1/execution/forms/queriesExecutionListEnrollmentQueriesLists the queries on every form of an enrollment or across visible enrollments of a study, oldest first.
GET/api/v1/execution/forms/{formId}ExecutionGetFormReads a form: its items in layout order with their values, completeness, locks, assertions and signatures.
POST/api/v1/execution/forms/{formId}/previewExecutionPreviewFormValuesEvaluates pinned study collection rules in memory over draft form values without mutating state (K-RULE-3).
GET/api/v1/execution/forms/{formId}/queriesExecutionListFormQueriesLists a form's queries, oldest first, each with whether its value changed since it was raised.
POST/api/v1/execution/forms/{formId}/queriesExecutionRaiseFormQueryRaises a query on the current revision of one of the form's values or on a blank item (execution.query.raise).
POST/api/v1/execution/forms/{formId}/queries/{queryId}/answerExecutionAnswerFormQueryAnswers an open query (execution.query.answer).
POST/api/v1/execution/forms/{formId}/queries/{queryId}/cancelExecutionCancelFormQueryCancels an open or answered query raised in error (execution.query.manage).
POST/api/v1/execution/forms/{formId}/queries/{queryId}/closeExecutionCloseFormQueryCloses an open or answered query; the change reason is the closing note (execution.query.manage).
POST/api/v1/execution/forms/{formId}/queries/{queryId}/reopenExecutionReopenFormQueryReopens an answered or closed query with why it is not settled (execution.query.manage).
POST/api/v1/execution/forms/{formId}/signaturesExecutionSignFormSigns the form's current values with an X-Sig-Token step-up token (collection.sign); 409 when the form changed since it was read.
PUT/api/v1/execution/forms/{formId}/valuesExecutionSaveFormValuesSaves a page of values: all of them or, on one stale revision or invalid value, none (collection.record).
GET/api/v1/kernel/activityKernelActivityWhat happened in a scope, newest first.
POST/api/v1/kernel/assertions/{assertionRef}/retractionKernelRetractAssertionRetracts a verification, answer or query assertion with the signed reason for change (assertion.retract).
GET/api/v1/kernel/authorization/can-iKernelCanIWhether the caller may exercise a capability on an object now, and why.
POST/api/v1/kernel/enrollments/screenKernelScreenEnrollmentRegisters a pseudonymous participant when needed and starts a screening enrollment at a study site (participant.screen).
GET/api/v1/kernel/enrollments/{enrollmentRef}/casebookKernelExportEnrollmentCasebookStreams a participant casebook with revisions, queries, verifications, attestations and SHA-256 digests.
GET/api/v1/kernel/entitlementsKernelGetEntitlementsThe caller's tenant commercial subscription tier, trial state, and enabled product families.
POST/api/v1/kernel/entitlements/activateKernelActivateSubscriptionActivates a Trialing or Expired commercial subscription after validating study scoping and billing confirmation.
POST/api/v1/kernel/entitlements/tierKernelUpgradeSubscriptionTierSwitches the tenant's commercial evaluation tier in place while preserving trial countdown and clinical records.
POST/api/v1/kernel/library-items/{itemRef}/approveKernelApproveLibraryItemApproves a draft library item version with an Approved attestation (library_item.approve).
POST/api/v1/kernel/locksKernelApplyLockApplies a Frozen or Locked assertion to a study, study site, enrollment, form instance or observation (lock.apply).
POST/api/v1/kernel/locks/{lockRef}/releaseKernelReleaseLockReleases a Frozen or Locked assertion with a signed retracting assertion (lock.release).
GET/api/v1/kernel/nodes/{nodeRef}KernelGetNodeResolves a NodeRef to its summary.
GET/api/v1/kernel/nodes/{nodeRef}/childrenKernelGetChildrenThe children of a scope node, with their own child counts.
GET/api/v1/kernel/nodes/{nodeRef}/commandsKernelGetCommandsThe kernel commands offered on an object, each with the caller's dry-run decision.
GET/api/v1/kernel/nodes/{nodeRef}/dependentsKernelDependentsWhat depends on an object, grouped by kind with counts.
GET/api/v1/kernel/nodes/{nodeRef}/lineageKernelTraceWalks an object's lineage backward to its inputs or forward to its dependents.
GET/api/v1/kernel/nodes/{nodeRef}/pathKernelGetZoomPathThe zoom path from the tenant down to an object.
POST/api/v1/kernel/observationsKernelRecordObservationRecords an observation for the participant of an enrollment (observation.record).
GET/api/v1/kernel/observations/{observationRef}KernelGetObservationAn observation with its revisions, the locks covering it, the assertions about it and its kernel audit entries.
POST/api/v1/kernel/observations/{observationRef}/correctionsKernelCorrectObservationCorrects an observation's value with the signed reason for change (observation.correct).
POST/api/v1/kernel/observations/{observationRef}/verificationsKernelVerifyObservationVerifies the current revision of an observation against source with the signed reason for change (observation.verify).
POST/api/v1/kernel/onboarding/trialKernelBootstrapTrialWorkspaceProvisions an isolated self-service trial workspace for an authenticated OIDC caller.
GET/api/v1/kernel/organizationsKernelListOrganizationsLists visible organizations in the caller's tenant.
GET/api/v1/kernel/proposals/{proposalRef}KernelGetProposalOne proposal with its intent, plan, affected objects, requested capabilities, model, content hash and decision.
POST/api/v1/kernel/proposals/{proposalRef}/rejectionKernelRejectProposalRejects an open proposal; the signed reason for change is the rejection reason (proposal.reject).
GET/api/v1/kernel/protocol-templatesKernelListProtocolTemplatesLists bundled standard CDISC Library eCRF templates available for protocol draft import.
GET/api/v1/kernel/protocol-versions/{versionRef}KernelGetProtocolVersionOne protocol version, without its content.
GET/api/v1/kernel/protocol-versions/{versionRef}/design-summaryKernelGetProtocolDesignSummaryReturns a viewable summary of a protocol version's forms, ordered items, and import notes.
GET/api/v1/kernel/protocol-versions/{versionRef}/impactKernelAmendmentImpactWhat depends on the version a protocol amendment changes (K-PROT-2).
GET/api/v1/kernel/protocol-versions/{versionRef}/schedule-of-activitiesKernelGetScheduleOfActivitiesA protocol version's Schedule of Activities, compiled from its design.
POST/api/v1/kernel/protocols/matrix-gap-checkKernelMatrixGapCheckPerforms immediate real-time matrix gap check on a candidate protocol design graph.
GET/api/v1/kernel/searchKernelSearchFinds kernel objects in the caller's tenant by code or title.
POST/api/v1/kernel/simulation/simulateKernelSimulateProtocolEvaluates a candidate USDM protocol version in memory without database changes.
GET/api/v1/kernel/statusKernelStatusReturns the Clinical Kernel API's operational status.
GET/api/v1/kernel/studiesKernelListStudiesLists visible studies in the caller's tenant.
POST/api/v1/kernel/studiesKernelCreateStudyRegisters a new study in the caller's tenant with a signed reason for change (study.register).
GET/api/v1/kernel/studies/{studyRef}/exportsKernelExportStudySnapshotStreams a bitemporal study snapshot as CSV, CDISC ODM v1.3.2 XML, or CDISC Dataset-JSON.
GET/api/v1/kernel/studies/{studyRef}/locksKernelListStudyLocksLists Frozen and Locked assertions recorded for a study at an optional bitemporal as_of cut.
GET/api/v1/kernel/studies/{studyRef}/proposalsKernelListProposalsA study's proposals, newest first, optionally only those with one status (Open, Approved, Rejected, Withdrawn, Expired).
POST/api/v1/kernel/studies/{studyRef}/protocol-importsKernelImportProtocolDraftSynchronously imports ODM v1.3.2 XML, USDM v4 JSON, or bundled eCRF templates into a protocol draft.
GET/api/v1/kernel/studies/{studyRef}/protocol-versionsKernelListProtocolVersionsA study's protocol versions, newest first, without their content.
GET/api/v1/kernel/studies/{studyRef}/rule-packsKernelListStudyRulePacksLists rule-pack library items in the tenant and indicates which versions are pinned on the study.
POST/api/v1/kernel/studies/{studyRef}/rule-packs/{itemRef}/previewKernelPreviewStudyRulePackEvaluates a draft or approved rule pack in memory over the study's current collection records without mutating state.
PUT/api/v1/kernel/studies/{studyRef}/standardsKernelDeclareStudyRulePacksDeclares or updates the approved rule-pack library items pinned on a study (study.declare_standards).
GET/api/v1/kernel/studies/{studyRef}/validation/findingsKernelListStudyValidationFindingsLists derived validation findings for a study, optionally filtered by stage, status, severity, rule pack or dataset.
GET/api/v1/kernel/validation/findings/{findingRef}KernelGetValidationFindingReturns one derived validation finding and its structured provenance explanation.
GET/healthzKernelHealthCheckClinical Kernel API health probe.