Create Score
Create a single annotation score on a source.
https://api.futureagi.com/model-hub/scores/ Authentication
Request body
The type of source to annotate. One of trace, span, generation, or session.
UUID of the source object to annotate.
UUID of the annotation label to use for this score.
The score value as JSON. The structure depends on the label type (e.g., rating: 5 for star, selected: [“option1”] for categorical).
Optional freeform notes to attach to the score.
Origin of the score. Defaults to "human". Other values include "automation" or "sdk".
Response
201 CreatedNote
Creating a score also writes a legacy TraceAnnotation for backward compatibility. If the annotated source belongs to an annotation queue and all required labels are now scored, the queue item may auto-complete.