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: list records from a structure
TypeScript
import { CentraliClient } from '@centrali-io/centrali-sdk';

const client = new CentraliClient({
  apiKey: process.env.CENTRALI_API_KEY!,
  workspaceId: 'your-workspace-id',
  // apiUrl: 'https://api.centrali.io', // optional override
});

async function listProducts() {
  const products = await client.records.list({
    structure: 'products',
    filter: { status: 'active' },
    limit: 20,
  });

  console.log(products);
}

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.

Build your next app with a simpler backend.

Centrali handles the plumbing so you can focus on the product. Try the API in minutes.