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}
Request
- Base URLhttps://api.confident-ai.com
- Authnone declared. Required headers: CONFIDENT_API_KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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 operation changes recorded.