Skip to main content
The ax profiles commands let you create and manage named configuration profiles. Each profile stores an API key, routing settings, and output preferences. The active profile is used by all other ax commands.

ax profiles list

List all available configuration profiles. The active profile is marked with a dot.
ax profiles list
Example:
ax profiles list

ax profiles create

Create a new configuration profile. Runs interactively by default; use flags or --from-file to skip prompts.
ax profiles create [<profile-name>] [--api-key <key>] [--region <region>] [--single-host <host>] [--single-port <port>] [--output-format <format>] [--from-file <path>]
OptionDescription
--api-keyArize API key
--regionRouting region (e.g. us-east-1b)
--single-hostSingle endpoint host for on-prem deployments (e.g. arize.yourcompany.com)
--single-portSingle endpoint port for on-prem deployments (e.g. 443)
--output-formatOutput format: table, json, csv, parquet
--from-file, -fPath to a TOML config file to load values from
--verbose, -vEnable verbose logs
Precedence (highest to lowest): CLI flags > --from-file > interactive prompts. If no profiles exist, the profile name defaults to default with no prompt. Detects existing ARIZE_* environment variables when running interactively (only when neither flags nor --from-file are used). Examples:
# Interactive setup
ax profiles create

# Non-interactive with flags
ax profiles create my-profile --api-key ak_abc123

# From a TOML file
ax profiles create staging --from-file ./staging.toml

ax profiles show

Show configuration for a profile. By default shows environment variable references like ${ARIZE_API_KEY} without expanding them.
ax profiles show [<profile>] [--all] [--expand]
OptionDescription
--allShow all sections including defaults
--expandExpand environment variable references to their actual values
--verbose, -vEnable verbose logs
Examples:
# Show the active profile
ax profiles show

# Show a named profile with all sections expanded
ax profiles show my-profile --all --expand

ax profiles update

Update an existing profile. With --from-file, the profile is replaced by the file contents (flags are applied on top). With flags only, specified fields are updated and all others are preserved.
ax profiles update [<profile>] [--api-key <key>] [--region <region>] [--single-host <host>] [--single-port <port>] [--output-format <format>] [--from-file <path>]
OptionDescription
--api-keyNew Arize API key
--regionNew routing region
--single-hostSingle endpoint host for on-prem deployments
--single-portSingle endpoint port for on-prem deployments
--output-formatNew output format
--from-file, -fReplace profile with values from this TOML file
--verbose, -vEnable verbose logs
Examples:
# Update the active profile's API key
ax profiles update --api-key ak_new123

# Update a named profile from a file
ax profiles update staging --from-file ./staging.toml

ax profiles delete

Delete a configuration profile.
ax profiles delete <profile> [--force]
OptionDescription
--force, -fSkip the confirmation prompt
Examples:
ax profiles delete old-profile
ax profiles delete old-profile --force

ax profiles use

Switch to a different configuration profile. Makes the specified profile active for all future commands.
ax profiles use <profile>
Example:
ax profiles use staging

ax profiles validate

Validate a configuration profile. Checks for missing or incorrect configuration and reports any issues.
ax profiles validate [<profile>]
Example:
ax profiles validate my-profile

Self-Hosted / On-Premise Configuration

When using the CLI with a self-hosted or on-premise Arize AX deployment, you need to point the profile at your private endpoints instead of the default Arize SaaS hosts. The CLI supports several mutually exclusive endpoint override strategies. Use only one at a time:
StrategyWhen to useTOML fields
Single endpointAll services behind one host/LB (typical on-prem)single_host, single_port
Private ConnectPrivate link with a shared base domainbase_domain
Per-endpointSeparate hosts for API, OTLP, and Flightapi_host, otlp_host, flight_host, etc.
These strategies are mutually exclusive. single_host/single_port, and base_domain are mutually exclusive. Set only one. If you set single_host/single_port, the per-endpoint fields (api_host, otlp_host, flight_host) are ignored.
Run ax profiles create and choose Advanced configuration mode. You will be prompted to select a single-endpoint or multi-endpoint layout and enter your host(s).
ax profiles create my-onprem
# Choose: Advanced
# Choose: Single endpoint (typical for on-prem deployments)
# Enter your host and port
Once created, verify with ax profiles show --all:
ax profiles show --all

Profile: my-onprem ● active

Authentication
  API Key: test-...key

Output
  Format: table

Routing
  Single Host: arize.yourcompany.com
  Single Port: 1234

Transport
  Stream Max Workers: 8
  Stream Max Queue Bound: 5000
  PyArrow Max Chunksize: 10000
  Max HTTP Payload Size: 8 MB

Security
  Request Verify: True

Storage
  Directory: ~/.arize
  Cache: True

From file setup

You can also create a profile from a TOML file for repeatable or scripted setup:
ax profiles create my-onprem --from-file ./my-onprem.toml

Routing strategies

Single endpoint (single_host / single_port)

The most common on-prem configuration. All Arize services (App, API, OTLP, Flight) are reachable through one host and port:
[routing]
single_host = "arize-app.internal.company.com"
single_port = "443"

Private Connect (base_domain)

For Private Connect setups where all services share a common base domain. The CLI generates api.<base_domain>, otlp.<base_domain>, and flight.<base_domain>:
[routing]
base_domain = "private.yourcompany.com"

Per-endpoint

When API, OTLP, and Flight each have separate hosts (four-endpoint deployment):
[routing]
api_host = "arize-api.internal.company.com"
api_scheme = "https"
otlp_host = "arize-otlp.internal.company.com"
otlp_scheme = "https"
flight_host = "arize-flight.internal.company.com"
flight_port = "443"
flight_scheme = "grpc+tls"

TOML field reference

SectionFieldDescription
[auth]api_keyYour Arize API key
[routing]single_hostSingle host for all endpoints (overrides per-endpoint fields)
[routing]single_portPort for single-host mode — required when single_host is set
[routing]base_domainBase domain for Private Connect (generates api.*, otlp.*, flight.*)
[routing]api_hostHost for the Arize REST API (fallback when no override is set)
[routing]api_schemehttps or http
[routing]otlp_hostHost for OpenTelemetry trace ingestion
[routing]otlp_schemehttps or http
[routing]flight_hostHost for Arrow Flight (data export, datasets, experiments)
[routing]flight_portPort for Flight (typically 443)
[routing]flight_schemegrpc+tls (TLS) or grpc (plaintext)
[security]request_verifytrue to verify TLS certificates, false to skip (dev only)
[output]formatDefault output format: table, json, csv, parquet

TLS and enterprise certificates

Set request_verify = false under [security] to bypass certificate verification during development with self-signed certificates. For production, keep it true and if you’re using a custom CA, configure it at the OS or environment level . See Using an Enterprise-Issued Certificate for details on certificate configuration.