All docs
Docs
Getting Started

Connect with Node.js

Use the Node SDK for TypeScript and JavaScript apps.

Overview

The package name is @synapsor/client.

The client supports SQL, sessions, agent capability invocation, branches, proposals, and backups.

Use database-scoped keys and keep keys server-side.

Developer notes

  • Keep API calls on the server side of your app.
  • Pass tenant and principal through session context.
  • Treat proposal commits as privileged operations.
  • Retry only idempotent control-plane actions.