Developer preview / server side

Read your workspace through code.

The Seven16 SDK uses a scoped token to read identity, wallet totals, and saved CSV datasets. It is a versioned public download for Node.js 24+, with no browser bundle or paid run methods.

01 / Download

Get the reviewed package

Download the tarball and its SHA-256 receipt. Verify the file before installing it.

02 / Install

Add it to your server

From your Node project after download, install the local tarball. This package is not in the npm registry.

npm install ./716-sdk-0.2.0.tgz

03 / Scope

Use one workspace token

In that workspace's Settings, issue a PAT with workspace.read. Store it as SEVEN16_TOKEN in your server's secret manager. Add wallet.read only for balance or usage.

Working example

Read a saved CSV import

Run this in server-side JavaScript. The SDK reads the token from SEVEN16_TOKEN; no token belongs in the file or client browser.

import { Seven16 } from "@716/sdk";

const client = new Seven16();
const datasets = await client.warehouse.listDatasets();
if (datasets.length) {
  const saved = await client.warehouse.readDataset(datasets[0].id);
  const sample = await client.warehouse.analyzeDataset(
    datasets[0].id, "campaign", { measure: "spend" }
  );
  const matching = await client.warehouse.queryDataset(datasets[0].id, {
    column: "campaign", equals: "A"
  });
  console.log(saved.row_count, sample.profile.truncated, matching.matched_count);
}

What the numbers cover

readDataset retrieves one bounded saved import, up to 1,000 rows. analyzeDataset profiles at most the first 100 rows and flags a truncated sample. Check that flag before treating a chart as complete.

Current boundary

Each request rechecks the token, workspace, and scope. The SDK has no arbitrary SQL, provider connector, upload, paid tool run, or customer app deployment. The download is a preview artifact, not a registry release.

Learn to check the warehouse chart →