Skip to main content

Installation

This package is currently pre-release. Install the latest release candidate:
npm install @arizeai/ax-client

Configuration

Authenticate using API keys obtained from the Arize Platform. The API key is required for all operations and can be provided as a parameter or via environment variable. The base URL is also configurable via parameter or environment variable. Refer to the API Hosts and Regions documention for base url configuration, which is defaulted to the global environment.
import { createClient } from "@arizeai/ax-client";

const client = createClient({
  baseUrl: "xxxxxx",
  apiKey: "xxxxxx",
});