Snabb SDK 1.40.1

JavaScript requires Node 24.22.1 or newer; Python requires 3.11 or newer. These packages have no runtime dependencies. They are distributed here, without npm or PyPI publication.

Source commit 96c94899ed9211ff4f6e0bacd62f7c2a090ebeac. Manifest · Checksums · Current API contract

Install

npm install https://console.snabb.run/downloads/sdk/snabb-sdk-js-1.40.1.tgz
python3 -m pip install https://console.snabb.run/downloads/sdk/snabb-sdk-python-1.40.1.tar.gz

Verify the downloaded bytes against SHA256SUMS before local installation when pinning an integration. Keep the manifest with your deployment. Supply an appropriately scoped bearer token through your secret manager or environment.

Use

import { SnabbClient } from '@snabb/sdk';
const client = new SnabbClient({token: process.env.SNABB_TOKEN});
const page = await client.listProjects();
import os
from snabb import SnabbClient
client = SnabbClient(token=os.environ['SNABB_TOKEN'])
page = client.list_projects()

Follow returned pagination cursors. Preserve original mutation identities; SDKs do not retry mutations automatically. Capabilities describe limits and gates, not new permissions.