Skip to navigation

List Traces

View as MarkdownOpen in Claude

Path parameters

workspacestringRequired

Query parameters

sortenumOptionalDefaults to -started_at
Allowed values:
modeenumOptionalDefaults to preview

Response mode. summary returns root-span fields without payloads or rollups; preview adds token, cost, and span-count rollups plus 300-character input/output previews; detailed returns rollups and full payloads.

Allowed values:
pageintegerOptional>=1Defaults to 1
Page number.
page_sizeintegerOptional1-1000Defaults to 10
Page size.
filterobjectOptional

Filter root-span-backed traces by id, session_id, root status, root span started_at, evaluation_name, test_case_name, and agent_name. Use attributes for stored span key/value pairs: all pairs must match on one live span anywhere in the trace, e.g. {“attributes”:{“label.source”:“relay”,“label.task”:“pick-place”}}. Returned rollups still cover the entire trace.

Response

Successful Response
datalist of objects
paginationobject or nullOptional
Pagination information.
sortstring or nullOptional
The field on which the results are sorted.
filtermap from strings to any or nullOptional
Filtering information.

Errors

422
Unprocessable Entity Error