Official SDK · Official

@typesafe-ai/sdk

Official TypeScript/JavaScript client for POST https://api.typesafe.ai/v1/systemone.

Source repository

Runnable
Runnable in Node.js 20+ once you have a TypeSafe key. This hub does not execute it.
Keys
Reads TYPESAFE_API_KEY. Never put the key in a skill file, repo, or this site.
Platforms
Node.js 20+, TypeScript, JavaScript
Primitives
choice, score, noul
npm install @typesafe-ai/sdk

If you are shipping application code, start here rather than hand-rolling fetch wrappers. The client infers answer types from the questions you pass into systemOne().

Official docs: https://docs.typesafe.ai/api and the JavaScript SDK pages on docs.typesafe.ai.

JEV Hub's request builder emits the same JSON the SDK would send. Copy the JSON, then call the SDK from your machine.

Caveats

  • Official SDK. A TypeSafe API key is required.
  • Helper builders are noul(), choice(), and score(). There is no mode parameter.
  • Pin jev-1.13.0 if you tune thresholds; jev-latest moves when TypeSafe ships a release.

Related guides

Back to catalog