Skip to main content
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#overview

Score

Evaluation score with its value, source, target identity, and generation attribution.

Meaning and usage​

Section ID: DOC-API-MODEL-schema-1jm5lo00e7#meaning

See the definition above.

Usage profiles​

Section ID: DOC-API-MODEL-schema-1jm5lo00e7#fields

UsageFields and validation
In responsesView fields

In responses​

Section ID: DOC-API-MODEL-schema-1jm5lo00e7#response

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-scoreidSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-scoreidscoreIdstringOptionalIdentifier of the evaluation score.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-targettypeSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-targettypetargetTypestring (EVAL_TARGET_TYPE_TRACE, EVAL_TARGET_TYPE_OBSERVATION, EVAL_TARGET_TYPE_DATASET_RUN, EVAL_TARGET_TYPE_SESSION) or integer (int32)Optional; explicit presenceKind of evaluation object to which the score applies.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-targetidSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-targetidtargetIdstringOptionalIdentifier of the evaluation object to which the score applies.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-nameSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-namenamestringOptionalMetric name identifying the recorded evaluation score.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-datatypeSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-datatypedataTypestring (SCORE_DATA_TYPE_NUMERIC, SCORE_DATA_TYPE_CATEGORICAL, SCORE_DATA_TYPE_BOOLEAN, SCORE_DATA_TYPE_TEXT) or integer (int32)Optional; explicit presenceValue type used to interpret numeric, categorical, Boolean, or text score values.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-numericvalueSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-numericvaluenumericValuenumber (double) or string (NaN, Infinity, -Infinity)OptionalNumeric score value reported by the evaluator.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-stringvalueSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-stringvaluestringValuestringOptionalCategory label recorded for a categorical evaluation score.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-booleanvalueSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-booleanvaluebooleanValuebooleanOptionalBoolean value recorded for a Boolean evaluation score.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-sourceSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-sourcesourcestring (SCORE_SOURCE_JUDGE, SCORE_SOURCE_HUMAN, SCORE_SOURCE_USER, SCORE_SOURCE_HARNESS, SCORE_SOURCE_EVAL) or integer (int32)Optional; explicit presenceSource classification reported for the evaluation score.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-commentSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-commentcommentstringOptionalExplanatory text attached to the evaluation score.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-createdatSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-createdatcreatedAtstring (date-time)OptionalTime when this record was created.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-textvalueSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-textvaluetextValuestringOptionalText value of the evaluation score.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-authoruseridSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-authoruseridauthorUserIdstringOptionalIdentifier recorded for the user who authored the score. A stored author identifier alone does not attest to verified human provenance.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-configidSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-configidconfigIdstringOptionalIdentifier of the score configuration defining the score’s value domain.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-queueidSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-queueidqueueIdstringOptionalIdentifier of the annotation queue.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-traceidSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-traceidtraceIdstringOptionalIdentifier of the evaluation trace.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-observationidSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-observationidobservationIdstringOptionalIdentifier of the evaluation observation.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-sessionidSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-sessionidsessionIdstringOptionalIdentifier of the evaluation session grouping related traces.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-datasetrunidSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-datasetruniddatasetRunIdstringOptionalIdentifier of the dataset run associated with the score.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-environmentSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-environmentenvironmentstringOptionalEnvironment label attached to the evaluation record.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-metadatajsonSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-metadatajsonmetadataJsonstringOptionalAdditional attributes serialized as a JSON object.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-updatedatSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-updatedatupdatedAtstring (date-time)OptionalTime when this record was last updated.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-timestampSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-timestamptimestampstring (date-time)OptionalTimestamp associated with the evaluation score.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-tracenameSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-tracenametraceNamestringOptionalTrace name included with the score for display in score listings.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-useridSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-useriduserIdstringOptionalUser identifier recorded with the evaluation score.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-sourcelabelSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-sourcelabelsourceLabelstringOptionalOriginal evaluation-provider source label, such as API, ANNOTATION or EVAL. Interpret it alongside source and authorship: API alone does not distinguish an end-user rating from a harness, and a source label does not independently prove verified human provenance.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-conversationidSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-conversationidconversationIdstringOptionalConversation identifier recorded in the score’s own metadata. Scores authored directly in the evaluation store can lack platform attribution; an empty link is not repaired by retrying.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-messageidSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-messageidmessageIdstringOptionalIdentifier of the conversation message associated with the evaluation record.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-messagesequenceSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-messagesequencemessageSequencestring (int64)OptionalSequence number of the evaluated message within its conversation. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-profileidSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-profileidprofileIdstringOptionalIdentifier of the agent profile associated with the generation.
Section ID: DOC-API-MODEL-schema-1jm5lo00e7#field-confighashSection ID: DOC-API-MODEL-schema-1jm5lo00e7#response-field-confighashconfigHashstringOptionalFingerprint of the profile ID, model and resolved prompt hash used to group evaluation results. Other settings are excluded; this is not an immutable profile revision.

Values of targetType​

Section ID: DOC-API-MODEL-schema-1jm5lo00e7#response-values-targettype

Kind of evaluation object a score or evaluation configuration addresses.

ValueNo.FormMeaning
EVAL_TARGET_TYPE_TRACE0CanonicalA complete trace identified by its trace identifier.
EVAL_TARGET_TYPE_OBSERVATION1CanonicalA specific observation within a trace.
EVAL_TARGET_TYPE_DATASET_RUN2CanonicalAn evaluation run over a dataset.
EVAL_TARGET_TYPE_SESSION3CanonicalA session grouping multiple traces. The evaluation harness attaches session-scoped judge scores directly; the provider does not expose a session-level evaluator target.

Values of dataType​

Section ID: DOC-API-MODEL-schema-1jm5lo00e7#response-values-datatype

Scores

Data representation of an evaluation score or score configuration.

ValueNo.FormMeaning
SCORE_DATA_TYPE_NUMERIC0CanonicalA numeric measurement or rating.
SCORE_DATA_TYPE_CATEGORICAL1CanonicalA value chosen from a named set of categories.
SCORE_DATA_TYPE_BOOLEAN2CanonicalA true-or-false evaluation result.
SCORE_DATA_TYPE_TEXT3CanonicalFree-form text supplied by an evaluator or reviewer. The provider supports text values on score definitions and scores; support through this API depends on the operation.

Values of source​

Section ID: DOC-API-MODEL-schema-1jm5lo00e7#response-values-source

Platform classification of who produced an evaluation score. The provider source label retains its original vocabulary: writes accept API or ANNOTATION, while EVAL is reserved for the provider's internal evaluators and is rejected through its public API.

SCORE_SOURCE_HUMAN maps to ANNOTATION. SCORE_SOURCE_USER, SCORE_SOURCE_JUDGE and SCORE_SOURCE_HARNESS map to API.

Reviewer and end-user scores also use separate name namespaces: reviewer scores do not use names beginning with user-feedback-.

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

Where used​

Section ID: DOC-API-MODEL-schema-1jm5lo00e7#where-used

ReferenceRelationship
Get the eval overviewPOST /api/v1/evals/get-overview
Get a sessionPOST /api/v1/evals/get-session
Get a tracePOST /api/v1/evals/get-trace
List observationsPOST /api/v1/evals/list-observations
List scoresPOST /api/v1/evals/list-scores
List sessionsPOST /api/v1/evals/list-sessions
List tracesPOST /api/v1/evals/list-traces
Models containing this value
ModelRelationship
EvalOverviewNested in model
ObservationNested in model
SessionSummaryNested in model
TraceDetailNested in model
TraceSummaryNested in model

Download the public reference contract.

Document ID: DOC-API-MODEL-schema-1jm5lo00e7