OrgSight has one Convex database with 42 tables, defined in convex/schema.ts.

People and roles

People synced from HR, their roles, projects and integrations.

Skills and capabilities

The skills catalogue and the capability model built on it.

Assessments and evidence

Templates, requests, ratings, evidence and documents.

Agents

AI agents, where they run and what they’ve done.

Videos and Academy

Demo videos, courses and people’s progress.

Platform

Organisations, settings, secrets, AI use and back office records.

How organisations are kept apart

Every record that belongs to a customer carries their Clerk organisation ID in orgId. Functions take the organisation from the caller’s session, never from what the browser sends, and check it on each record they open. Ten tables have no orgId, because OrgSight owns them or every customer shares them: leads, waitlistEntries, operators, the four demo video tables, and the Academy’s lessons, courses and trains. The back office keeps its own settings, prompts and secrets in the same tables as customers, under the organisation ID backoffice.

Secrets and files

  • Secrets are encrypted before they’re saved, with a key held on the deployment.
  • Files live in Convex file storage. Records hold the file’s ID, shown as _storage in the schema.

How to read the table lists

Written by and Read by name the component whose code touches the table directly. They come from the types in the code, so they include changes made by ID. Three calls in maintenance code choose their table while running and aren’t included: two in migrations.ts and one in backoffice.ts. Checked against the code (v0.5-182-g5680751-dirty) on 4 December 2026.