For the complete documentation index, see llms.txt. This page is also available as Markdown.

iai observations list

List observations

Synopsis

List observations for a specific trace or search across traces with filters.

When --trace-id is provided, lists observations within that trace. Without --trace-id, searches observations across all traces with optional filters.

Uses the platform API with dual authentication (API key or session).

iai observations list [flags]

Examples

  # List observations for a specific trace
  iai observations list --trace-id abc123
  iai observations list --trace-id abc123 --include-io
  iai observations list --trace-id abc123 --columns id,type,name,model,latency_ms

  # Search observations across traces
  iai observations list --type GENERATION --model gpt-4
  iai observations list --from-timestamp 2025-01-01T00:00:00Z --name my-span
  iai observations list --json | jq '.data'

Options

Options inherited from parent commands

SEE ALSO

Last updated

Was this helpful?