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 [--space-id <id>] [--project-id <id>] [--limit <n>] [--cursor <cursor>]
OptionDescription
--space-idFilter by space ID
--project-idFilter by project ID
--limitMaximum number of results to return
--cursorPagination cursor for the next page
Examples:
ax spans list --project-id proj_abc123
ax spans list --project-id proj_abc123 --output spans.json

ax spans get

Retrieve a single span by ID.
ax spans get <span-id>
Example:
ax spans get span_xyz789