Phoenix

Imports traces from an Arize Phoenix project. Use it to evaluate interactions captured by Phoenix observability.

Authentication

api_key falls back to the PHOENIX_API_KEY environment variable and base_url to PHOENIX_COLLECTOR_ENDPOINT. Narrow the import with the time, trace_id, session_id, tags, metadata and limit options.

Examples

Example: Import a Phoenix project. Imports up to 10 traces from a project, reading credentials from environment variables.

Phoenix Dataset Source
# ...
source:
  type: phoenix
  project: $PHOENIX_PROJECT
  base_url: $PHOENIX_BASE_URL
  api_key: $PHOENIX_API_KEY
  limit: 10

Configuration

Properties


type Literal “phoenix required

Phoenix trace source.


project string required

Phoenix project name.


base_url string

Phoenix base URL. Falls back to PHOENIX_COLLECTOR_ENDPOINT env var.

Default: None


api_key string

Phoenix API key. Falls back to PHOENIX_API_KEY env var.

Default: None


from_time string

Start time filter for traces.

Default: None


to_time string

End time filter for traces.

Default: None


trace_id string, array[string]

Specific trace ID(s) to import.

Default: None


session_id string, array[string]

Filter traces by session ID(s).

Default: None


tags array[string]

Filter traces by tags.

Default: None


metadata object

Filter traces by metadata key-value pairs on the root span (all must match).

Default: None


limit integer

Maximum number of traces to import.

Default: None