Scorers

Test-run a scorer

Tests an inline scorer config with provided input variable values. Runs the scorer synchronously and returns the evaluation result.

post/api/{org_id}/scorers/test

Request

Path parameters

org_idstring required

Organization name

Request body

descriptionstring nullable
inputVariablesunknown required
namestring required

Response

completionTokensinteger nullable
errorstring nullable
latencyMsinteger required
metadataunknown
modelUsedstring nullable
promptTokensinteger nullable
rawResponsestring nullable
reasoningstring nullable
successboolean required
totalTokensinteger nullable
valueBooleanboolean nullable
valueCategoricalstring nullable
valueNumericnumber double nullable

Changes

No recorded changes to this operation across all 1 revision of this API.