Get Annotation

Retrieves a specific annotation by its unique ID. Returns the complete annotation details including rating, type, expected output/outcome, explanation, flagged status, and associated trace/span/thread identifiers.

This endpoint verifies that the annotation belongs to your project before returning it.

Path parameters

annotationIdstringRequired
The ID of the annotation to retrieve.

Headers

CONFIDENT_API_KEYstringRequired
The API key of your Confident AI project.

Response

Successfully retrieved annotation
successboolean
Indicates if the request was successful.
dataobject

Errors