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. Add the module to your project:Configuration
Authenticate using API keys obtained from the Arize Platform. The API key is required for all operations and can be provided viaConfig or the ARIZE_API_KEY environment variable. The API host is also configurable via Config.APIHost or the ARIZE_API_HOST environment variable.
Refer to the API Hosts and Regions documentation for base URL configuration, which defaults to the global environment.
- In Code
- Environment Variables
Regions
UseConfig.Region to point the client at a specific Arize deployment region. Setting Region overrides APIHost, OTLPHost, FlightHost, and FlightPort. Region is mutually exclusive with SingleHost/SinglePort and BaseDomain.
| Region Constant | Identifier |
|---|---|
RegionUSCentral | us-central-1a |
RegionEUWest | eu-west-1a |
RegionCACentral | ca-central-1a |
RegionUSEast | us-east-1b |
Error Handling
The SDK returns typed errors for non-2xx HTTP responses. Compare against typed errors witherrors.As and against sentinel errors with errors.Is.
arize package):
arize.APIErrorarize.BadRequestErrorarize.UnauthorizedErrorarize.ForbiddenErrorarize.NotFoundErrorarize.ConflictErrorarize.RateLimitErrorarize.ServerErrorarize.ResourceNotFoundError
arize.ErrMissingAPIKeyarize.ErrMultipleEndpointOverrides
Subclients
TheClient exposes typed subclients as exported fields. Each subclient lives in its own package and is documented on its own page:
- API Keys -
client.APIKeys - Organizations -
client.Organizations - Projects -
client.Projects - Resource Restrictions -
client.ResourceRestrictions - Role Bindings -
client.RoleBindings - Spans -
client.Spans
Pre-Release API Warnings
Pre-release APIs (ALPHA and BETA) are actively evolving based on user feedback. The SDK emits a one-time warning via the standardlog package the first time you call a pre-release endpoint:
For detailed information about API version stages, stability guarantees, and recommendations, see API Version Stages in the REST API reference.