Skip to main content
The ax spans commands let you retrieve and export span data from your Arize projects.

ax spans list

List spans within a project.
ax spans list <project-id> [--start-time <time>] [--end-time <time>] [--filter <expr>] [--limit <n>] [--cursor <cursor>]
OptionDescription
project-idProject ID (required, positional argument)
--start-timeStart of time window, inclusive (ISO 8601, e.g. 2024-01-01T00:00:00Z)
--end-timeEnd of time window, exclusive (ISO 8601, e.g. 2024-01-02T00:00:00Z). Defaults to now
--filterFilter expression (e.g. "status_code = 'ERROR'", "latency_ms > 1000")
--limitMaximum number of results to return
--cursorPagination cursor for the next page
Examples:
ax spans list proj_abc123
ax spans list proj_abc123 --output spans.json
ax spans list proj_abc123 --filter "status_code = 'ERROR'" --limit 50