Returns a paginated list of spans.
Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format
Maximum items to return
1 <= x <= 500Opaque pagination cursor returned from a previous response
(pagination.next_cursor). Treat it as an unreadable token; do not
attempt to parse or construct it.
Body containing span query parameters
The project ID to list spans for
Filter to spans starting at or after this timestamp (inclusive).
ISO 8601 format (e.g., 2024-01-01T00:00:00Z).
Filter to spans starting before this timestamp (exclusive).
ISO 8601 format (e.g., 2024-01-02T00:00:00Z).
Filter expression to apply to the query. Supports SQL-like syntax
for filtering spans by attributes (e.g., status_code = 'ERROR').