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

iai traces list

List traces

Synopsis

List traces with optional filters.

Uses the platform API with dual authentication (API key or session). If --from-timestamp is not provided, defaults to 7 days ago.

iai traces list [flags]

Examples

  iai traces list
  iai traces list --limit 20 --page 2
  iai traces list --name my-trace --user-id user123
  iai traces list --from-timestamp 2025-01-01T00:00:00Z
  iai traces list --order-by timestamp --order desc
  iai traces list --tags tag1 --tags tag2
  iai traces list --model gpt-4 --has-error
  iai traces list --min-cost 0.01 --max-cost 1.0
  iai traces list --level ERROR
  iai traces list --search "my query"
  iai traces list --fields core,io,metrics
  iai traces list --json | jq '.data.traces[].name'
  iai traces list --columns id,name,latency,total_tokens,level

Options

Options inherited from parent commands

SEE ALSO

  • iai traces - Browse agent decision traces with full attribution

Last updated

Was this helpful?