Contents
Run a typed evaluation
Jev evaluates a JSON state against named questions and returns typed boolean, choice, or score answers. Call POST /v1/evaluations with Bearer authentication; the model has a 32K-token context window. Discover Jev with /v1/models?output_modalities=decisions or /v1/models?output_modalities=all; the default text-only model list omits decision-only models. Jev is available only through the evaluations endpoint; chat-shaped endpoints return HTTP 400. Current list price: $0.042 per 1M input tokens and $0 per 1M output tokens. Sufficient credits are required.
/v1/evaluationsAuthorizations
AuthorizationrequiredAPI key as bearer token in the Authorization header.
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"staterequiredThe state or evidence to evaluate. It may be a string, object, or array.
"The support agent issued a full refund."questionsrequiredOne or more named questions evaluated in parallel.
typerequiredThe typed answer requested for this question.
instructionsrequiredInstructions 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.