Run a typed evaluation
Typed evaluation endpoint for TypeSafe AI Jev. Send state and named questions, then receive typed boolean, choice, or score answers. Requires Bearer authentication; the serialized state and questions are limited to 32,000 tokens. This lane is not listed in /v1/models. TypeSafe rate limits may change without notice.
/v1/evaluationsXác thực
Authorizationbắt buộcAPI key dưới dạng bearer token trong header Authorization.
Body
modelThe optional evaluation model in the request body. Omit it to use the default typesafe-ai/jev; any other value is rejected as model_not_available.
"typesafe-ai/jev"statebắt buộcThe state or evidence to evaluate. It may be a string, object, or array.
"The support agent issued a full refund."questionsbắt buộcOne or more named questions evaluated in parallel.
typebắt buộcThe typed answer requested for this question.
instructionsbắt buộcInstructions describing what this question should decide.
criteriaRequired for choice questions as an option-to-description record; required for score questions as an ordered array of at least two criteria; optional for boolean questions.