SDKs for working with Centrali.

Use the JavaScript SDK today to talk to Centrali from your frontend or backend. Additional language SDKs will follow as the platform grows.

All capabilities are also available via the HTTP API if you prefer to work without an SDK.

JavaScript / TypeScript SDK

First-class SDK for browser and server environments, with TypeScript typings for a better developer experience.

Install
npm install @centrali-io/centrali-sdk

Works with Node.js and modern frontend frameworks like Next.js.

Example: query records from a structure
TypeScript
import { CentraliSDK } from '@centrali-io/centrali-sdk';

const client = new CentraliSDK({
  workspaceId: 'your-workspace-id',
  clientId: process.env.CENTRALI_CLIENT_ID!,
  clientSecret: process.env.CENTRALI_CLIENT_SECRET!,
});

async function listProducts() {
  const products = await client.queryRecords('products', {
    'data.status': 'active',
    pageSize: 20,
  });

  console.log(products.data);
}

listProducts().catch(console.error);

Language support

Start with the JavaScript SDK today. Additional SDKs will follow based on demand and real usage.

JavaScript / TypeScript

Available

First-class SDK for browser and server environments, with TypeScript typings for a better developer experience.

Works with Node.js and modern frontend frameworks like Next.js.

Python

Planned

Planned SDK for backend services, data pipelines, and analytics workloads.

Not available yet—watch the roadmap and changelog for updates.

SDK or raw HTTP—it's your choice

The SDKs are thin layers over the public API. You can adopt them where they help or use raw HTTP calls if you prefer more control.

Typed client methods instead of manually constructing HTTP requests.

Built-in handling for authentication and workspace targeting.

Helpers for common patterns like listing records, saving records, and invoking functions.

One place to update when Centrali APIs evolve.

Start your backend in minutes

No credit card. No setup. Just run the CLI and start building.

Takes less than 5 minutes to get started.