List Annotations
Retrieves a paginated list of annotations from your Confident AI project. Annotations are user feedback on traces, spans, or threads that include ratings, expected outputs/outcomes, explanations, and flags.
Use query parameters to filter annotations by trace UUID, span UUID, thread ID, type, rating range, or flagged status. Results are returned in descending order by creation date with pagination support.
Headers
CONFIDENT_API_KEY
The API key of your Confident AI project.
Query parameters
traceUuid
Filter annotations by trace UUID.
spanUuid
Filter annotations by span UUID.
threadId
Filter annotations by thread ID.
type
Filter annotations by type.
Allowed values:
minRating
Filter annotations with minimum rating (inclusive).
maxRating
Filter annotations with maximum rating (inclusive).
flagged
Filter annotations by flagged status.
Allowed values:
page
This specifies the page number of the annotations to return. Defaulted to 1.
pageSize
This specifies the maximum number of annotations per page. Defaulted to 25.
start
This filters for annotations created after the specified start datetime. Defaulted to 30 days ago.
end
This filters for annotations 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
Successfully retrieved list of annotations
success
Indicates if the request was successful.
data
Contains the list of annotations and pagination information.