Skip to main content

ScoreConfig

Score definition specifying its value type, bounds, and allowed categories.

Usage profiles​

UsageFields and validation
In responsesView fields

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
configIdstringOptionalIdentifier of the score configuration defining the score’s value domain.
namestringOptionalName identifying the score definition.
dataTypestring (SCORE_DATA_TYPE_NUMERIC, SCORE_DATA_TYPE_CATEGORICAL, SCORE_DATA_TYPE_BOOLEAN, SCORE_DATA_TYPE_TEXT) or integer (int32)OptionalScore value type used to interpret the numeric, categorical, or boolean value.
descriptionstringOptionalHuman-readable description of the resource.
minValuenumber (double) or string (NaN, Infinity, -Infinity)OptionalMinimum numeric score value allowed by the score configuration.
maxValuenumber (double) or string (NaN, Infinity, -Infinity)OptionalMaximum numeric score value allowed by the score configuration.
categoriesArray of ScoreConfigCategoryOptionalNamed score categories defined by the score configuration.
isArchivedbooleanOptionalWhether the score configuration is archived. Archived configurations are retained so historical scores remain interpretable.
createdAtstring (date-time)OptionalTime when this record was created.
updatedAtstring (date-time)OptionalTime when this record was last updated.

Values of dataType​

Data representation of an evaluation score or score configuration.

ValueNo.FormMeaning
SCORE_DATA_TYPE_NUMERIC1CanonicalA numeric measurement or rating.
SCORE_DATA_TYPE_CATEGORICAL2CanonicalA value chosen from a named set of categories.
SCORE_DATA_TYPE_BOOLEAN3CanonicalA true-or-false evaluation result.
SCORE_DATA_TYPE_TEXT4CanonicalFree-form text supplied by an evaluator or reviewer.

Where used​

ReferenceRelationship
List score configsPOST /api/v1/evals/list-score-configs
Update a score configPOST /api/v1/evals/update-score-config

Download the public reference contract.

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