Annotations
Update Annotation
Updates an existing annotation's properties such as rating, type, expected output/outcome, or explanation.
Validation rules:
- Thread annotations cannot have expectedOutput (use expectedOutcome instead)
- Trace/span annotations cannot have expectedOutcome (use expectedOutput instead)
- The annotation must belong to your project
put/v1/annotations/{annotationId}
Path parameters
annotationIdstring required
The ID of the annotation to update.
Headers
CONFIDENT_API_KEYstring required
The API key of your Confident AI project.
Request body
Response
Successfully updated annotation
Changes
No changes recorded. 3 of the 54 revisions have no diff computed, so they could not be searched.