Trinity engine
REST API for the Trinity intelligence engine. Authentication, rate limits, the full catalog, instrument scoring, composites, and quickstart snippets in eight languages.
Read the API reference →Portals
User guides for the four portals built on top of Trinity — Restora (patient), Preventa (EHS), Thera (provider), and Admin (TPA). Docs land here as each rolls out.
In progressJump into the engine docs
What you can do with Trinity
Start in your language
Copy-paste calling patterns for curl, Python, Node, TypeScript, Go, Java, C#, PowerShell, and more.
→Authenticate with apikey
Per-consumer API keys with the canonical apikey header. Learn how keys are provisioned and rotated.
→Handle errors and retries
Error envelope, full error-code taxonomy, RateLimit-* headers, and Retry-After backoff guidance.
→Score instruments
Unified scoring pattern plus per-instrument references for anxiety, depression, Oswestry, and more.
→Compose composites
Flagship composites like CDRI, acute screening, and phenotype classification, end to end.
→Discover the catalog
Self-describing endpoints that list every resource, operation, and audience the engine exposes.
→