@gradientai/nodejs-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.10.0 • Public • Published

Gradient AI SDK for JavaScript

A JavaScript client with TypeScript types definitions for gradient

npm version

Installation

npm install --save @gradientai/nodejs-sdk

Usage

Refer to SDK quickstart page for more examples. The gradient-sdk-typescript-example repository has a complete working example!

import { Gradient } from "@gradientai/nodejs-sdk";

const gradient = new Gradient({});
const models = await gradient.listModels();

See the complete list of endpoints in the API reference.

Requirements

This package requires NodeJS at least in version 18.

Getting help

To report issues with the SDK, it is possible to submit an issue in the package repo.

Package Sidebar

Install

npm i @gradientai/nodejs-sdk

Weekly Downloads

697

Version

1.10.0

License

MIT

Unpacked Size

635 kB

Total Files

144

Last publish

Collaborators

  • dezgradient
  • atmiguel-gradient
  • briangradient
  • matehal
  • chris.chang