Annotate example
Add or update an example's ground truth or reasoning. At least one annotation
field is required. The first annotation must include groundTruth.
/v1/models/{modelId}/examples/{exampleId}/annotationAuthorization
Send a Modaic bearer token in the Authorization header.
Parameters
Model repository ID. Repository write access is required.
Example ID.
Expected answers keyed by question ID. noul questions use booleans,
choice questions use option keys, and score questions use zero-based
numeric indexes into the question's criteria array.
Optional explanation for the ground truth.
The first annotation assigns a stable train or test split. Updating the
annotation later preserves the existing split.
Returns 404 example_not_found when the example does not exist in the model,
and 422 ground_truth_required when the first annotation omits groundTruth.
Response
The merged ground truth and reasoning with the preserved split.