Skip to content

TypeScript SDK Documentation

The TypeScript SDK documentation is available as interactive HTML documentation.

View TypeScript SDK Documentation

Satellites

The beta SDK exposes the Satellites client for project-level JSON-RPC satellites.

import { Satellites } from '@ptkl/sdk/beta';

const satellites = new Satellites({
  token: process.env.PROJECT_API_TOKEN,
  env: 'dev',
});

await satellites.execute('crm-satellite', 'echo', {
  inputs: { message: 'hello' },
});

For the full concept, schema shape, and JSON-RPC contract, see Satellites.