Skip to navigation

List Agent Traces

Authentication

AuthorizationApi-Key

Type “Api-Key” followed by a space and the project API key.

Path parameters

agent_uuidstringRequired
Agent UUID

Query parameters

page_sizeintegerOptional1-100Defaults to 50

The maximum number of items in one page. The SDK method returns a pager. In Python, .items holds only the first page. In TypeScript, .data holds only the first page. To read every page, iterate the pager: use for or list(...) in Python, or for await in TypeScript. In Go, the method returns one page, and Iterator() reads all pages.

cursorstringOptional
Opaque page cursor
order_byenumOptional
Sort field
Allowed values:
orderenumOptional
asc or desc
Allowed values:
import_uuidstringOptional
Filter by owning Trace import UUID
source_kindenumOptional
Source kind
Allowed values:

Request

Filters
metadatamap from strings to anyOptional

Filters to Traces whose metadata contains these key-value pairs.

outcomeenumOptional
Filters to one reported outcome.
Allowed values:
parent_trace_uuidstringOptional
Filters to direct retries of this parent Trace.
statusenumOptional
Filters to one lifecycle state.
Allowed values:
task_familystringOptional

Filters to an exact task-family slug.

verificationenumOptional
Filters to one verification strength.
Allowed values:

Response

OK
itemslist of objectsOptional
The Traces on this page.
next_cursorstringOptional
Opaque cursor for retrieving the next page, present only when more results are available.
total_sizeintegerOptional
The total number of Traces matching the filters within the owning Agent.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error