> ## Documentation Index
> Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# @arizeai/phoenix-client

[![NPM Version](https://img.shields.io/npm/v/%40arizeai%2Fphoenix-client)](https://www.npmjs.com/package/@arizeai/phoenix-client)

TypeScript client for the [Arize Phoenix](https://github.com/Arize-ai/phoenix) API. Use it to manage prompts, datasets, experiments, spans, sessions, and raw REST calls against a Phoenix server.

## Installation

```bash theme={null}
npm install @arizeai/phoenix-client
```

<Note>
  `@arizeai/phoenix-client` ships local docs and source code inside `node_modules/@arizeai/phoenix-client/`.

  Browse the website version under [@arizeai/phoenix-client Docs](/docs/phoenix/sdk-api-reference/typescript/packages/phoenix-client/overview).
</Note>

## Start Here

* [Package overview](/docs/phoenix/sdk-api-reference/typescript/packages/phoenix-client/overview) for the module map, configuration, and local `node_modules` layout
* [Prompts](/docs/phoenix/sdk-api-reference/typescript/packages/phoenix-client/prompts)
* [Datasets](/docs/phoenix/sdk-api-reference/typescript/packages/phoenix-client/datasets)
* [Experiments](/docs/phoenix/sdk-api-reference/typescript/packages/phoenix-client/experiments)
* [CI Eval Tests](/docs/phoenix/sdk-api-reference/typescript/packages/phoenix-client/ci-evals)
* [Spans](/docs/phoenix/sdk-api-reference/typescript/packages/phoenix-client/spans)
* [Sessions](/docs/phoenix/sdk-api-reference/typescript/packages/phoenix-client/sessions)

## Local Install Pattern

After install, a coding agent can inspect:

```text theme={null}
node_modules/@arizeai/phoenix-client/docs/
node_modules/@arizeai/phoenix-client/src/
```

That gives the agent version-matched prose plus the exact implementation and type definitions that shipped with your project.

## API Reference

Use the generated TypeDoc for full API details:

* [TypeScript API docs](https://arize-ai.github.io/phoenix/modules/_arizeai_phoenix-client.html)
