Launch App Home Brochure

Nessa Documentation

Enterprise pharmaceutical data integrity for FDA-regulated environments

Nessa by Clinivion is an enterprise-grade pharmaceutical data integrity engine built for FDA-regulated R&D environments. It provides cryptographic verification, immutable audit trails, AI-powered risk assessment, and comprehensive compliance monitoring, all in one platform designed from the ground up for GxP compliance.

Why Nessa?

Compliance Standards

FDA 21 CFR Part 11

Electronic records and signatures, complete audit trails, access controls

EMA ALCOA+

Attributable, Legible, Contemporaneous, Original, Accurate + Complete, Consistent, Enduring, Available

GAMP 5

Risk-based validation approach with immutable audit trail and full traceability

ISO 27001

Role-based access control with five defined roles, encryption at rest and in transit

GDPR

Consent management supporting six legal bases, PII/PHI redaction, data classification

HIPAA

Access controls, integrity verification via Certificate Transparency logs

Getting Started

Login

Navigate to the application login page. Nessa supports credential-based authentication as well as SSO via Auth0, Azure AD, and Google.

Login Page
Login Page — Credential and SSO authentication

Default Credentials

RoleEmailPasswordAccess Level
Adminadmin@pharma.localAdmin123!Full system access
Scientistscientist@pharma.localScience123!Data entry, reports, signatures
Auditorauditor@pharma.localAudit123!Read-only audit and compliance

First-Time Setup Checklist

QA Dashboard

The QA Command Center provides a real-time overview of your organization's compliance posture. It aggregates metrics from all subsystems into a single view optimized for quality assurance managers.

QA Dashboard
QA Command Center — Compliance metrics, risk scores, and system health at a glance

Key Metrics

AI Risk Prediction

Nessa uses machine learning models trained on pharmaceutical data patterns to predict compliance risks before they become findings. The risk engine combines k-means clustering for anomaly detection with logistic regression for risk classification, scoring each data entry on a 0-100 scale.

Data Management

Nessa provides a complete data lifecycle management system, from submission through verification to archival. Every operation is cryptographically signed and logged to the immutable audit trail.

Submit Data

Create new data entries with full traceability. Each submission captures the operator identity, timestamp (NTP-verified), study ID, CAPA reference, and data classification level. Upon submission, the entry receives an ED25519 digital signature and is appended to the Merkle tree.

Submit Data
Submit Data — Create new entries with study IDs, CAPA references, and classification levels

Data Explorer

Browse, search, and filter all data entries in the system. The explorer provides full-text search, column filtering, and sorting. Each entry displays its verification status, signature validity, and risk score.

Data Explorer
Data Explorer — Search, filter, and verify data entries

Import Data

Bulk import data from CSV or JSON files. The importer validates each record against configured validation rules before committing. Failed records are reported with specific error details. Successful imports receive batch signatures.

Import Data
Import Data — Bulk CSV/JSON import with pre-commit validation

Audit Trail

Every action in Nessa is recorded in an immutable, cryptographically verified audit log. The audit trail cannot be modified, deleted, or tampered with — any attempt to alter records is immediately detectable through hash chain verification.

Audit Trail
Audit Trail — Immutable, hash-chained event log with Merkle verification

How It Works

Logged Actions

The following operations are automatically captured in the audit trail:

ALCOA+ Compliance

ALCOA+ is the gold standard framework for pharmaceutical data integrity, originally defined by the FDA and expanded by the WHO. Nessa continuously scores your data against all nine principles and provides actionable recommendations for improvement.

ALCOA+ Compliance
ALCOA+ Compliance Matrix — Real-time scoring across all nine principles

The Nine Principles

A

Attributable

Who performed the action and when

L

Legible

Data is readable and permanently recorded

C

Contemporaneous

Recorded at the time of activity

O

Original

First-capture or true copy

A

Accurate

No errors or unauthorized edits

C

Complete

All data including retests and repeats

C

Consistent

Chronologically ordered, date/time stamped

E

Enduring

Recorded on permanent media

A

Available

Accessible for review throughout retention

Scoring Methodology

Each ALCOA+ principle is scored from 0 to 100 based on automated checks. Nessa evaluates your data entries, audit trail completeness, signature coverage, and system configuration to compute each score. Scores below 80 trigger recommendations; scores below 60 generate alerts.

FDA Reports

Generate comprehensive FDA audit packages on demand. The report covers all 21 CFR Part 11 requirements and provides documented evidence of compliance across electronic records, electronic signatures, and audit trail integrity.

FDA Reports
FDA Reports — Generate 25-page audit packages with one click

Report Sections

  1. Executive Summary — Overall compliance status and key metrics
  2. System Description — Architecture, security controls, and validation approach
  3. Electronic Records (11.10) — Controls for closed systems, record integrity, and retention
  4. Electronic Signatures (11.50-11.200) — Signature manifestations, uniqueness, and non-repudiation
  5. Audit Trail Analysis — Hash chain verification, Merkle proof validation, completeness check
  6. ALCOA+ Compliance Matrix — Detailed scoring across all nine principles
  7. Risk Assessment — AI-generated risk scores and trend analysis
  8. Appendices — Technical specifications, cryptographic details, and methodology

Generating a Report

  1. Navigate to Reports in the sidebar
  2. Click Preview to review the report in-browser
  3. Click Download PDF to generate the full 25-page audit package

Sample report: Download Sample FDA Audit Report (PDF)

Electronic Signatures

Nessa implements electronic signatures in full compliance with 21 CFR Part 11, Sections 11.50 through 11.200. Every signature uses ED25519 elliptic-curve cryptography, providing mathematical proof of signer identity and document integrity.

Electronic Signatures
Electronic Signatures — ED25519 digital signatures with 21 CFR Part 11 compliance

Signature Workflow

  1. User re-authenticates with their credentials (two-factor verification)
  2. The system generates an ED25519 signature over the data hash
  3. The signature, public key, timestamp, and meaning are recorded
  4. The signed record is appended to the Merkle tree and CT log
  5. An audit trail entry captures the complete operation

Compliance Guarantees

IoT Sensor Monitoring

Monitor laboratory and cleanroom environmental conditions in real time. Nessa ingests sensor data via secure API endpoints and applies the same cryptographic integrity guarantees as all other data in the system.

IoT Sensors
IoT Sensor Monitoring — Real-time environmental data with alert thresholds

Supported Sensor Types

Sensor TypeUnitTypical RangeAlert Threshold
Temperature°C15-25> 25 or < 15
Humidity% RH30-60> 65 or < 25
Particle Countparticles/m³0-3,520> 3,520 (ISO 7)
Pressure DifferentialPa10-15< 10

Data Integrity for Sensors

Every sensor reading is timestamped with NTP verification, signed, and appended to the audit trail. Out-of-specification readings automatically trigger OOS events and notifications to quality managers.

Certificate Transparency Log

Inspired by Google's Certificate Transparency framework for PKI security, Nessa implements an append-only, cryptographically verifiable log of all data operations. This provides an independent, tamper-evident record that can be audited by third parties.

Certificate Transparency Log
CT Log — Append-only tamper-evident record with Merkle tree visualization

How CT Logs Work

Tamper Detection

If any historical entry in the CT log is modified, the Merkle root hash changes, immediately invalidating all subsequent consistency proofs. This makes undetected tampering mathematically impossible.

User Management

Nessa implements role-based access control (RBAC) with five predefined roles aligned to pharmaceutical organizational structures. User management is restricted to administrators.

User Management
User Management — Role-based access control with five organizational roles

Role Permissions

RoleData EntryView DataSignReportsManage UsersSystem Config
AdminYesYesYesYesYesYes
QA ManagerYesYesYesYesNoNo
QA UserYesYesYesNoNoNo
AuditorNoYesNoYesNoNo
ViewerNoYesNoNoNoNo

Live Demo

The interactive demo simulates a full pharmaceutical data workflow, generating realistic data entries from multiple sources (LIMS, EDC, IoT sensors) and demonstrating compliance monitoring, cryptographic verification, and risk scoring in real time.

Live Demo
Live Demo — Interactive simulation of pharmaceutical data workflows

Running the Demo

  1. Navigate to Demo in the sidebar
  2. Click Start Simulation to begin
  3. Watch as data entries are generated, validated, signed, and logged
  4. Observe real-time compliance scores updating as data flows through the system

Integration Sources Simulated

Auditor View

The Auditor View provides a read-only interface for compliance auditors to retrieve and inspect the immutable audit ledger. Enter a study ID to retrieve all associated audit events, verify hash chain integrity, and export evidence packages.

Auditor View
Auditor View — Study-specific audit ledger retrieval and verification

Scientist Workstation

The Scientist Workstation provides a streamlined interface for researchers to submit data entries and apply electronic signatures. Data entries are automatically validated, signed with ED25519 keys, and appended to the Merkle tree.

Scientist Workstation
Scientist Workstation — Data entry and electronic signing for researchers

Validation Rules

Configure automated validation rules that are applied to every data entry in real time. Rules define acceptable ranges, required fields, and custom logic for specific data types. Failed validations trigger OOS events and quality notifications.

Validation Rules
Validation Rules — Configure automated data quality checks

Out-of-Specification Events

When data entries fail validation rules, OOS events are automatically generated and tracked. Quality managers can review, investigate, and acknowledge each event. All OOS actions are recorded in the immutable audit trail.

OOS Events
Out-of-Specification Events — Track and resolve validation failures

Lab Results & OOS Detection

Nessa replaces untyped data blobs with structured lab result entry, capturing every field needed for regulatory traceability. Each result is hash-chained per study using SHA-256, and the system automatically checks results against specification limits to detect out-of-specification conditions.

Structured Result Fields

FieldTypeDescription
study_idStringStudy identifier for grouping results
batch_numberStringManufacturing or analytical batch
sample_idStringUnique sample identifier
parameter_nameStringAnalytical parameter being measured
value_numericFloatNumeric result value
value_textStringText result (for non-numeric parameters)
unit_of_measureStringUnit of measurement (from reference data)
instrument_idUUIDEquipment used for measurement
method_referenceStringAnalytical method reference
observation_timeTimestampMandatory — ALCOA Contemporaneous requirement

Hash Chain Integrity

Results are SHA-256 hash-chained per study on the server side. No client pre-computation is needed — the backend automatically computes and links each result's hash to its predecessor, forming a tamper-evident chain for every study.

Automatic OOS Detection

When a result is submitted, the system checks the value against specification limits defined for that parameter and study. If the result falls outside the acceptable range, an OOS investigation is automatically opened with all relevant context pre-populated.

API Endpoint

POST /api/v1/results

Result Specifications

Define acceptance criteria for each analytical parameter on a per-study basis. Specifications drive automatic OOS detection and are the foundation for data quality assessment in regulated environments.

Specification Fields

FieldTypeDescription
spec_minFloatMinimum acceptable value
spec_maxFloatMaximum acceptable value
spec_targetFloatTarget (nominal) value
unitStringUnit of measurement
is_criticalBooleanCritical parameters auto-require electronic signature

Specification Hierarchy

API Endpoint

POST /api/v1/results/specifications

OOS Investigations

When a lab result violates specification limits, Nessa automatically creates an OOS investigation following the FDA OOS Guidance (2006) two-phase workflow. Investigations are tracked end-to-end with full audit trail coverage.

Two-Phase Workflow

Root Cause Categories

Laboratory Error

Sample preparation, dilution, or technique issue

Calculation Error

Formula, transcription, or rounding mistake

Instrument Failure

Equipment malfunction or calibration drift

Genuine OOS

True out-of-specification material condition

Undetermined

Root cause could not be conclusively identified

Investigation Numbering

Each investigation receives an auto-generated number in the format OOS-YYYY-NNN (e.g., OOS-2026-001), ensuring unique, chronological tracking across the organization.

API Endpoint

GET /api/v1/results/oos

Equipment Qualification

Manage the full IQ/OQ/PQ lifecycle for laboratory and manufacturing equipment per FDA 21 CFR 211.63 and 211.68. Track qualification status, calibration schedules, and preventive maintenance with full audit trail coverage.

Qualification Lifecycle

Each piece of equipment progresses through a defined qualification workflow:

Unqualified

Equipment registered, qualification not started

IQ Complete

Installation Qualification verified

OQ Complete

Operational Qualification verified

PQ Complete

Performance Qualification verified

Fully Qualified

All qualification stages passed

Calibration Management

Preventive Maintenance

Schedule maintenance activities and assess their impact on equipment qualification status. Maintenance events that affect qualification trigger re-qualification workflows automatically.

API Endpoints

GET  /api/v1/equipment
POST /api/v1/equipment
GET  /api/v1/equipment/{id}/qualifications
POST /api/v1/equipment/{id}/qualifications
GET  /api/v1/equipment/{id}/calibrations
POST /api/v1/equipment/{id}/calibrations

Data Governance (FDA 2018 Guidance)

Define and enforce data integrity policies aligned with FDA's 2018 Data Integrity and Compliance guidance. Assign data owners, set retention requirements, and conduct periodic governance reviews across all data domains.

Core Capabilities

Dashboard

The governance dashboard provides a real-time view of policy status, data owner coverage across all domains, and overdue review alerts. Gaps in owner assignment or expired policies are highlighted for immediate action.

API Endpoints

GET  /api/v1/governance/policies
POST /api/v1/governance/policies
GET  /api/v1/governance/owners
POST /api/v1/governance/owners
GET  /api/v1/governance/reviews
POST /api/v1/governance/reviews

Audit Trail Review (FDA 2018 Guidance)

Nessa provides automated anomaly detection across audit logs, implementing the FDA's 2018 guidance requirement for periodic, risk-based audit trail review. The system detects suspicious patterns and supports a QA sign-off workflow for reviewed periods.

Anomaly Detection

The automated review engine scans audit logs for the following anomalies:

QA Sign-Off Workflow

Quality assurance reviewers can sign off on reviewed time periods, creating a documented record that the audit trail has been examined and any anomalies have been investigated. Reviews can be scheduled periodically by data domain.

API Endpoint

GET  /api/v1/audit-reviews
POST /api/v1/audit-reviews

Data Lifecycle Management (FDA 2018 + WHO 2021)

Manage the complete data lifecycle from creation through destruction, aligned with both the FDA 2018 Data Integrity guidance and WHO 2021 Technical Report Series No. 1033. Each stage transition is gated by electronic signatures and recorded in the audit trail.

Six-Stage Lifecycle

1. Creation

Initial data capture and recording

2. Review

Data review and verification

3. Approval

Formal approval with e-signature

4. Active Use

Data in operational use

5. Archive

Retained per retention policy

6. Destruction

Controlled, documented disposal

Retention Management

API Endpoint

GET  /api/v1/lifecycle
POST /api/v1/lifecycle

DI Risk Assessment (FDA 2018 Guidance)

Conduct data integrity-specific risk assessments using industry-standard methodologies. The risk module implements a 5×5 matrix (likelihood × impact) and supports FMEA, hazard analysis, and gap analysis approaches.

Risk Matrix (5×5)

Score RangeRisk LevelAction Required
1 – 4LowMonitor during routine reviews
5 – 9MediumMitigation plan within 30 days
10 – 16HighImmediate mitigation required
17 – 25CriticalStop activity, escalate to management

Assessment Methodologies

Mitigation Tracking

Each identified risk can have mitigation actions assigned with an owner and due date. The system tracks completion status and sends overdue notifications to responsible parties.

API Endpoint

GET  /api/v1/di-risk
POST /api/v1/di-risk

Reference Data (Lookup Tables)

Standardized dropdown values for regulated fields, preventing freetext typos and ensuring data consistency across the organization. Eight pre-seeded reference lists ship with every Nessa deployment, and custom lists can be added per tenant.

Pre-Seeded Lists

Units of Measure

mg, mL, %, pH, CFU/mL, etc.

Test Methods

HPLC, GC, Karl Fischer, USP, etc.

Analytical Parameters

Assay, Purity, Moisture, pH, etc.

Equipment Types

HPLC System, Balance, pH Meter, etc.

Deviation Categories

Late entry, Correction, Format violation

Root Cause Methods

5-Why, Fishbone, FMEA, Fault Tree

Risk Levels

Low, Medium, High, Critical

Document Types

SOP, WI, Form, Policy, Spec

Search & Custom Lists

All reference data is searchable via a unified endpoint. Custom lists can be created per tenant to support site-specific or product-specific terminology.

GET /api/v1/reference-data/search?q=mg

API Endpoint

GET  /api/v1/reference-data
POST /api/v1/reference-data

Deviations

Track data integrity deviations with a structured workflow that captures the type, severity, and scientific justification for each event. All deviations flow through an approval process and are linked to the audit trail.

Deviation Types

Approval Workflow

Each deviation requires a scientific justification from the originator and approval from a quality reviewer. The system enforces separation of duties — the person who created the deviation cannot approve it.

API Endpoint

GET  /api/v1/deviations
POST /api/v1/deviations

CAPA Management

Corrective and Preventive Actions (CAPA) are linked to deviations, complaints, and audit findings. The CAPA module supports structured root cause analysis and tracks effectiveness verification to closure.

Root Cause Analysis Methods

5-Why Analysis

Iterative questioning to identify root cause

Fishbone Diagram

Ishikawa cause-and-effect analysis

FMEA

Failure Mode and Effects Analysis

Fault Tree

Top-down deductive failure analysis

CAPA Lifecycle

API Endpoint

GET  /api/v1/capa
POST /api/v1/capa

Complaints

Register, investigate, and resolve complaints with auto-numbered tracking. Each complaint can be linked to CAPA records for corrective actions and flagged for regulatory reporting when required.

Complaint Workflow

API Endpoint

GET  /api/v1/complaints
POST /api/v1/complaints

Document Control

Manage SOPs, Work Instructions, Forms, Policies, and Specifications with full version control and a review/approval workflow. Original documents are always preserved — superseded versions remain accessible for audit purposes.

Document Types

SOP

Standard Operating Procedures

Work Instruction

Step-by-step task guidance

Form

Data collection templates

Policy

Organizational policies

Specification

Product and method specifications

Version Control

Documents follow a superseded_by pattern: when a new version is created, the original is preserved and linked to its successor. This maintains a complete version history for regulatory inspection.

Review & Approval Workflow

Training Linkage

Documents can be linked to training programs, ensuring that personnel are trained on the latest approved version before performing regulated activities.

API Endpoint

GET  /api/v1/documents
POST /api/v1/documents

Training Management

Track GxP training programs with enrollment, completion, assessment scoring, and competency verification. The training module supports a role-SOP matrix to ensure every person is trained on the procedures relevant to their responsibilities.

Core Capabilities

Role-SOP Matrix

StatusMeaning
RequiredFull training and assessment required before performing the activity
AwarenessRead and acknowledge understanding
Not ApplicableSOP not relevant to this role

API Endpoint

GET  /api/v1/training
POST /api/v1/training

PKI Certificate Management

Register and manage X.509 certificates for cryptographic signature verification. The PKI module supports RSA, ECDSA, and Ed25519 algorithms via the ring crate, with full lifecycle tracking from issuance through revocation.

Certificate Registration

Signature Verification

Verify cryptographic signatures against registered certificates. Supported algorithms:

RSA

RSA PKCS#1 v1.5 and PSS signatures

ECDSA

Elliptic Curve Digital Signature Algorithm

Ed25519

Edwards-curve Digital Signature Algorithm

Certificate Lifecycle

Signature Audit Log

Every signature verification links the certificate used to the record being verified, creating a complete chain of evidence for regulatory inspection.

API Endpoint

GET  /api/v1/pki
POST /api/v1/pki

API Reference

Nessa exposes a RESTful API for programmatic access. All endpoints require JWT authentication unless otherwise noted.

Base URL

https://app.clinivion.com/api/v1/

Authentication

Include a JWT Bearer token in the Authorization header for all requests:

Authorization: Bearer <your-jwt-token>

Endpoints (80+ endpoints across 17 categories)

Click any category to expand and view its endpoints. All paths are relative to /api/v1/.

Authentication — 3 endpoints
MethodEndpointDescription
POST/auth/loginAuthenticate user
POST/auth/refreshRefresh JWT token
POST/auth/logoutLogout / invalidate token
Users — 3 endpoints
MethodEndpointDescription
GET/usersList all users
GET/users/{id}/entriesGet user's data entries
POST/admin/provisionProvision new tenant/user
Data Management — 5 endpoints
MethodEndpointDescription
POST/dataSubmit new data entry
GET/data/{id}Get data entry by ID
PUT/data/{id}Update data entry
GET/data/entriesList data entries (paginated)
GET/data/entries/exportExport data entries
Audit Trail — 5 endpoints
MethodEndpointDescription
GET/audit-trailPaginated audit trail
GET/audit/logsAudit logs
GET/audit/{study_id}Audit for specific study
GET/auditor/logsAuditor-specific logs
POST/auditor/generate_reportGenerate audit report
Compliance & ALCOA+ — 5 endpoints
MethodEndpointDescription
GET/compliance/dashboardCompliance dashboard metrics
GET/compliance/alcoaALCOA+ compliance status
GET/compliance/study/{study_id}Study compliance
GET/compliance/entry/{entry_id}/riskEntry risk assessment
GET/compliance/timelineCompliance timeline
Dashboard & Analytics — 4 endpoints
MethodEndpointDescription
GET/dashboard/compliance/{tenant_id}Tenant compliance
GET/dashboard/compliance/{tenant_id}/trendsCompliance trends
GET/dashboard/system/healthSystem health
GET/dashboard/audit/{tenant_id}/metricsAudit metrics
Digital Signatures & PKI — 4 endpoints
MethodEndpointDescription
POST/signSign a data entry
GET/signatures/pendingPending signatures
POST/pki/enrollEnroll public key
POST/pki/challengePKI challenge
Merkle Tree & Cryptographic Verification — 6 endpoints
MethodEndpointDescription
POST/merkleCreate Merkle entry
GET/merkle/root/{tenant_id}Get Merkle root
GET/merkle/stats/{tenant_id}Merkle tree statistics
GET/merkle/proofGet Merkle proof
POST/merkle/verifyVerify Merkle proof
POST/merkle/leafAdd leaf node
Risk Scoring & ML — 6 endpoints
MethodEndpointDescription
GET/risk-scoring/entry/{entry_id}/mlML risk prediction
GET/risk-scoring/study/{study_id}Study risk scores
GET/risk-scoring/study/{study_id}/historyRisk score history
GET/risk-scoring/tenant/{tenant_id}/overviewTenant risk overview
GET/risk-scoring/tenant/{tenant_id}/vsrValidation Status Report
POST/risk-scoring/trainTrain ML model
Validation — 8 endpoints
MethodEndpointDescription
GET/validationValidation status
GET/validation/rulesList validation rules
POST/validation/rulesCreate validation rule
PUT/validation/rules/{rule_id}Update rule
GET/validation/results/{entry_id}Validation results
GET/validation/oosOut-of-specification events
POST/validation/oos/{result_id}/acknowledgeAcknowledge OOS
GET/validation/summaryValidation summary
Exports & Reports — 6 endpoints
MethodEndpointDescription
GET/exports/audit-trail/{tenant_id}/csvExport audit trail CSV
GET/exports/compliance-report/{tenant_id}/pdfCompliance report PDF
GET/exports/data-entries/{tenant_id}/csvExport data entries CSV
GET/exports/fda-audit-package/{tenant_id}/previewFDA audit preview
GET/exports/fda-audit-package/{tenant_id}/pdfFDA audit package PDF (25 pages)
POST/reports/generateGenerate custom report
Change Control — 6 endpoints
MethodEndpointDescription
GET/change-control/requestsList change requests
POST/change-control/requestsCreate change request
GET/change-control/requests/{id}Get change request
POST/change-control/requests/{id}/approveApprove change
POST/change-control/requests/{id}/rejectReject change
GET/change-control/tenant/{tenant_id}/requestsTenant changes
GDPR & Data Privacy — 6 endpoints
MethodEndpointDescription
GET/gdprGDPR compliance status
POST/gdpr/dsrCreate Data Subject Request
GET/gdpr/dsr/{id}Get DSR details
POST/gdpr/dsr/{id}/eraseExecute erasure
POST/gdpr/dsr/{id}/exportExport subject data
GET/gdpr/dsr/overdueOverdue DSRs
Consent Management — 8 endpoints
MethodEndpointDescription
GET/consentList consents
POST/consentRecord consent
GET/consent/{id}Get consent details
PUT/consent/{id}Update consent
GET/consent/summaryConsent summary
GET/consent/user/{user_id}User consents
GET/consent/purposeConsent purposes
GET/consent/purposesAll purposes
Incident Management — 8 endpoints
MethodEndpointDescription
GET/incidentsList incidents
POST/incidentsCreate incident
GET/incidents/{id}Get incident details
PUT/incidents/{id}Update incident
POST/incidents/{id}/assessRisk assessment
POST/incidents/{id}/notifySend notifications
GET/incidents/dashboardIncident dashboard
GET/incidents/notifications/overdueOverdue notifications
Integrations — 3 endpoints
MethodEndpointDescription
POST/integrations/medidata/webhookMedidata webhook
POST/integrations/labvantage/webhookLabVantage webhook
GET/integrations/{integration_name}/statusIntegration status
Data Import — 3 endpoints
MethodEndpointDescription
POST/imports/uploadUpload data file
POST/imports/execute/{import_id}Execute import
GET/imports/historyImport history
System — 2 endpoints
MethodEndpointDescription
GET/healthHealth check
GET/recordsRecords overview

Example Requests

POST /auth/login

Authenticate and receive a JWT token.

Request:
curl -X POST https://app.clinivion.com/api/v1/auth/login \
  -H "Content-Type: application/json" \
  -d '{
    "email": "admin@pharma.local",
    "password": "Admin123!"
  }'
Response:
{
  "token": "eyJhbGciOiJIUzI1NiIs...",
  "user": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "email": "admin@pharma.local",
    "role": "Admin",
    "name": "System Administrator"
  },
  "expires_at": "2026-03-18T19:00:00Z"
}
GET /compliance/dashboard

Retrieve current compliance metrics.

Request:
curl -X GET https://app.clinivion.com/api/v1/compliance/dashboard \
  -H "Authorization: Bearer <token>"
Response:
{
  "fda_readiness": 94.5,
  "alcoa_score": 91.2,
  "crypto_verification": 100.0,
  "validation_pass_rate": 97.8,
  "total_entries": 1247,
  "signed_entries": 1247,
  "risk_distribution": {
    "low": 1089,
    "medium": 134,
    "high": 24
  }
}
GET /data/entries

List data entries with pagination and filtering.

Request:
curl -X GET "https://app.clinivion.com/api/v1/data/entries?page=1&limit=20&study_id=STUDY-001" \
  -H "Authorization: Bearer <token>"
Response:
{
  "data": [
    {
      "id": "entry-uuid",
      "study_id": "STUDY-001",
      "value": "98.7",
      "unit": "mg/mL",
      "created_by": "scientist@pharma.local",
      "created_at": "2026-03-17T14:30:00Z",
      "signature_valid": true,
      "risk_score": 12,
      "merkle_proof": "verified"
    }
  ],
  "total": 456,
  "page": 1,
  "per_page": 20
}
POST /data

Submit a new data entry.

Request:
curl -X POST https://app.clinivion.com/api/v1/data \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "study_id": "STUDY-001",
    "parameter": "API Purity",
    "value": "99.2",
    "unit": "%",
    "classification": "critical",
    "capa_reference": "CAPA-2026-042"
  }'
Response:
{
  "id": "new-entry-uuid",
  "signature": "base64-ed25519-signature",
  "merkle_root": "sha256-hash",
  "audit_log_id": "audit-uuid",
  "created_at": "2026-03-17T14:35:00Z"
}
GET /exports/fda-audit-package/{tenant}/pdf

Download the complete FDA audit package as a PDF.

Request:
curl -X GET https://app.clinivion.com/api/v1/exports/fda-audit-package/default/pdf \
  -H "Authorization: Bearer <token>" \
  -o fda-audit-report.pdf
Response:

Returns a PDF file (application/pdf) containing the complete 25-page FDA audit package.

Architecture

Nessa is built on a modern, security-first architecture designed for pharmaceutical compliance. The system uses a Rust backend for performance and memory safety, with a Next.js frontend for responsive user experience.

System Overview

+------------------+ | Web Browser | | (Next.js 14) | +--------+---------+ | HTTPS / TLS 1.3 | +--------+---------+ | Nginx | | Reverse Proxy | +--------+---------+ | +-------------+-------------+ | | +--------+--------+ +--------+--------+ | Next.js SSR | | Rust Backend | | (Vercel) | | (Axum 0.8) | +-----------------+ +--------+--------+ | +----------------+----------------+ | | | +--------+------+ +------+------+ +-----+------+ | PostgreSQL 16 | | Redis 7 | | AWS KMS | | (Multi-tenant)| | (Cache) | | (Key Mgmt) | +---------------+ +-------------+ +------------+

Security Layers

LayerTechnologyPurpose
TransportTLS 1.3Encryption in transit
AuthenticationJWT (24h expiry)Identity verification
Passwordbcrypt (cost 12)Password hashing
Field EncryptionAES-256-GCMSensitive data at rest
Digital SignaturesED25519Data authenticity and non-repudiation
IntegrityMerkle TreesEfficient proof of data inclusion
TransparencyCT LogsTamper-evident operation record
Key ManagementAWS KMSHardware-backed key storage
Rate LimitingCustom Tower middleware2 req/sec, 50-burst protection

Deployment