Skip to main content

Documentation Index

Fetch the complete documentation index at: https://arize-ax.mintlify.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

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",
});