response_format (or its equivalent) and read the answers back as JSON in the assistant message.
Get your API key in the Requesty Console.
Models
How it works
A Jev request has two parts:- State: the content to evaluate. Send it as the text of one or more
usermessages. Several user messages are joined with blank lines. - Questions: a map of question id to question definition, passed as
{"type": "questions", "questions": {...}}in the response format field of the API you are using.
type field matching the question type.
Question types
Jev supports three question types. You can mix them freely in one request; each question is answered independently.noul: yes / no
A noul question asks whether a statement about the content is true. The answer is a probability between 0.0 and 1.0.
choice: pick one option
A choice question picks one of several labelled options. criteria maps each option key to a description of when it applies. The answer contains the winning key in choice, plus probabilities for every option and the overall confidence.
score: position on an ordered scale
A score question places the content on an ordered scale. criteria is a list of labels from lowest to highest. The answer is the zero-based index of the chosen label in score, with probabilities keyed by index, a legend mapping indices back to labels, and the overall confidence.
Examples
The examples below ask all three question types about the same book review. Swap in your own content and questions.Chat Completions API
Pass the questions inresponse_format.
- Python (OpenAI SDK)
- TypeScript
- cURL
Messages API
Pass the questions inoutput_config.format.
- Python (Anthropic SDK)
- TypeScript
- cURL
Responses API
Pass the questions intext.format.
- Python (OpenAI SDK)
- TypeScript
- cURL
Usage and billing
Jev responses reportinput_tokens and output_tokens in the usual usage block, and requests are priced and logged like any other model. See Cost Tracking and Logs.
Errors
Related
- Structured Outputs for schema-constrained JSON from general-purpose models
- Supported Models