For the complete documentation index, see llms.txt. This page is also available as Markdown.

TypeScript

Install and use the TypeScript SDK for Data Product APIs.

Use the TypeScript SDK when a Node.js or TypeScript application needs typed access to Data Product APIs.

The SDK wraps the API groups into a single VulcanClient and uses the native fetch API in Node.js 18 and later.

Installation

Download the SDK package, then install it locally:

npm install vulcan-sdk-0.228.1.28.tgz

Create a client

import { VulcanClient } from "vulcan-sdk";

const client = new VulcanClient({
  fqdn: "example.dataos.io",
  dpName: "b2b_saas",
  accessToken: "<your-dataos-api-token>",
  tenant: "public",
});

The SDK builds the base URL automatically:

Constructor options

Option
Type
Required
Description

fqdn

string

Yes

DataOS FQDN, for example example.dataos.io.

dpName

string

Yes

Data Product name, for example b2b_saas.

accessToken

string

Yes

tenant

string

Yes

Tenant name, for example public.

See API tokens for how tokens work.

Query example

API groups

Group
Access via

Metadata

client.metadata

Query

client.query

Activity

client.activity

Data Quality

client.dq

Perspectives

client.perspectives

Notifications

client.notifications

Followers

client.followers

Troubleshooting

The SDK raises VulcanAPIError for API failures, authentication failures, invalid requests, missing parameters, and unexpected API responses.

For the full method reference, see SDKs in References.

Last updated

Was this helpful?