Skip to main content

ScoreAggregate

Count and average for scores grouped by name and source.

Usage profiles​

UsageFields and validation
In responsesView fields

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
namestringOptionalMetric name shared by the aggregated scores.
sourcestring (SCORE_SOURCE_JUDGE, SCORE_SOURCE_HUMAN, SCORE_SOURCE_USER, SCORE_SOURCE_HARNESS, SCORE_SOURCE_EVAL) or integer (int32)OptionalSource classification reported for the evaluation score.
countstring (int64)OptionalNumber of evaluation records represented by this group. Pattern: ^-?\d+$.
averagenumber (double) or string (NaN, Infinity, -Infinity)OptionalAverage score value reported for the aggregate.

Values of source​

Platform classification of who produced an evaluation score; the provider source label preserves its original vocabulary.

ValueNo.FormMeaning
SCORE_SOURCE_JUDGE1CanonicalA score produced by an automated judge.
SCORE_SOURCE_HUMAN2CanonicalA score entered by a human reviewer through the annotation path.
SCORE_SOURCE_USER3CanonicalFeedback supplied by an end user.
SCORE_SOURCE_HARNESS4CanonicalA score written by an evaluation harness or another API-based producer.
SCORE_SOURCE_EVAL5CanonicalA read-only score produced by the evaluation provider's managed evaluators; it cannot be written through the public score API.

Where used​

ReferenceRelationship
Get the eval overviewPOST /api/v1/evals/get-overview
EvalOverviewNested in model

Download the public reference contract.

Document: DOC-API-MODEL-score-aggregate.