Features
- API - Interact with Phoenix’s OpenAPI REST interface
- Session- Methods for loading, inspecting, and interacting with tracing and evaluation sessions
- Client - Upload and download data to and from Phoenix
- Evals - Define and run evaluations across models, traces, or datasets
- Experiments - Track, evaluate, and compare multiple runs under different conditions
- Otel - Integrate tracing and metrics using OpenTelemetry for automatic or manual instrumentation
- Inferences / Schema - Transform spans and evaluations into datasets, define structures for features and predictions, and manage embedding columns
- Prompt Management - Pull, push, and invoke prompts stored in Phoenix
- Project Management - Create, read, update, and delete projects in Phoenix
Installation
Install viapip.
Usage
Authentication (if applicable)
Phoenix API key can be an environment variable…Custom Headers
By default, the Phoenix client will use the bearer authentication scheme in the HTTP headers, but if you need different headers, e.g. for Phoenix Cloud, they can also be customized via an environment variable…Prompt Management
With the Phoenix client, you can push and pull prompts to and from your Phoenix server.Project Management
The Phoenix client provides synchronous and asynchronous interfaces for interacting with Phoenix Projects.Key Features
- Get a project by ID or name
- List all projects
- Create a new project with optional description
- Update a project’s description (note: names cannot be changed)
- Delete a project by ID or name

