Spans
List Spans
Get spans with optional filters and pagination
GET
Request
string
required
Bearer token with your API key:
Bearer tr_your_api_keystring
Filter by prompt slug
string
Filter by status:
SUCCESS or ERRORstring
Filter spans created after this ISO 8601 date
string
Filter spans created before this ISO 8601 date
string
Filter by end user ID
string
Filter by session ID
string
Comma-separated list of tags (AND logic)
number
Number of results per page (max 100, default 50)
string
Cursor for pagination (from previous response)
Response
array
Array of span objects
string | null
Cursor for the next page of results
Authorizations
API key starting with tr_
Query Parameters
Filter by prompt slug
Filter by status
Available options:
SUCCESS, ERROR Filter spans created after this ISO 8601 date
Filter spans created before this ISO 8601 date
Filter by end user ID
Filter by session ID
Comma-separated list of tags (AND logic)
Number of results per page (max 100, default 50)
Required range:
x <= 100Cursor for pagination (from previous response)

