List Traces
Retrieves a list of traces from your Confident AI project.
Headers
CONFIDENT_API_KEY
The API key of your Confident AI project.
Query parameters
page
This specifies the page number of the traces to return. Defaulted to 1.
pageSize
This specifies the maximum number of traces per page. Defaulted to 25.
environment
This filters the traces by the environment where the trace was created, and returns traces from all environments if not specified.
start
This filters for traces created after the specified start datetime. Defaulted to 30 days ago.
end
This filters for traces created before the specified end datetime. Defaulted to the current time.
sortBy
This determines the field to sort by. Defaulted to created_at.
Allowed values:
ascending
This determines if the field specified in sortBy should be in ascending order. Defaults to false.
Response
success
This is true if the traces were successfully retrieved.
data
This maps to the list of traces retrieved.
deprecated
This is true if this endpoint is deprecated.