Skip to main content
Available in @arizeai/phoenix-cli 1.4.0+ The px profile command group lets you store named connection profiles — each bundling an endpoint, project, API key, and custom headers under a single name like prod or staging. Activate a profile once and every px command picks it up automatically, so you no longer need to re-export environment variables when switching between Phoenix instances.

Profile resolution order

Existing scripts that set PHOENIX_HOST / PHOENIX_API_KEY / etc. keep working without modification.

Managing profiles

Check which profile is active

px auth status now surfaces the active profile name alongside the resolved endpoint and authentication state:

Editor autocomplete via JSON Schema

The CLI publishes a JSON Schema for the settings file (~/.px/profiles.json). Add a $schema key to enable autocomplete and validation in editors that support JSON Schema: