QNSI

Build Pattern · TypeScript

Build a FERPA-Aligned Secure LMS

Source-linked education-record integration pattern for storage, search, isolation, and retention contracts.

Evaluate education-record workflows against source-linked Vault, SSE-X, and tenant-isolation contracts. FERPA/PDPA alignment, privacy-safe search, retention, and end-to-end runtime behavior are NOT VERIFIED.

Verification boundary: The pattern is not a compliance attestation or deployment proof. Record protection, selective indexing, retention, isolation, and runtime behavior remain NOT VERIFIED.

NOT VERIFIEDDeployment timing
TypeScriptPrimary SDK
3Source surfaces

QNSI services used

Stack

Code

Published SDK calls

Snippets show source-linked SDK call shapes. Route reachability and deployment behavior remain NOT VERIFIED.

Encrypt a transcript + index for instructor searchtypescript
import { QnsiClient } from "@heossihq/qnsi";

const qnsp = new QnsiClient({ apiKey: process.env.QNSI_API_KEY! });

// Source-linked Vault call; FERPA alignment and key protection are NOT VERIFIED
const transcript = await qnsp.vault.createSecret({
  name: `transcript:${studentId}:${termId}`,
  payloadB64: transcriptPdfBase64,
  retention: { lockUntil: "permanent" }, // FERPA: indefinite
});

// Selective index: only de-identified course outcomes, not grades
await qnsp.search.upsertVectors("course-outcomes", [{
  id: `${studentId}:${termId}`,
  vector: outcomeEmbedding,
  metadata: { courseCode, term: termId }, // no PII
}]);

Evaluate

Inspect the source-linked integration surface