List spans (legacy)
List spans via the legacy endpoint. This path supports basic pagination and filtering, but for advanced filtering, annotations, and evaluator score sorting, use /api/request-logs/list/ instead.
Headers
Authorization
Bearer token. Use Bearer YOUR_API_KEY.
Query parameters
page
Page number.
page_size
Results per page (max 1000).
sort_by
Field to sort by. Prefix - for descending.
start_time
Start of time range (ISO 8601).
end_time
End of time range (ISO 8601).
customer_identifier
Filter by end-user/customer identifier.
include_fields
Comma-separated list of fields to include in each span. Reduces response size.
Response
Paginated legacy span list
count
Total number of matching spans.
results
Array of span objects for the current page.
next
URL for the next page of results.
previous
URL for the previous page of results.
Errors
401
Unauthorized Error