Skip to main content

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

TypeSafe-Danger-Zone-Images
enum<string>

Set to true to use assets or box questions.

Available options:
true
TypeSafe-Danger-Zone-Long-Context
enum<string>

Set to true to use long context.

Available options:
true

Body

Content and named questions to evaluate together using a TypeSafe model.

model
string
required

Name or alias of the model to use. Available names are returned by GET /v1/models.

Example:

"jev-latest"

state
required
string | object | array

The content all questions in this request refer to.

Example:

"I was charged twice. Please help."

questions
Questions · object
required

Questions to ask about the content, each with a name you choose. The response uses those names to identify the answers.

Example:
assets
Assets · object

Media assets keyed by an opaque placeholder (recommend a per-image UUID). Each placeholder, wherever it appears as or inside a string in state, question instructions, or criteria, is replaced with the asset. Image assets require a vision-language model.

Response

Successful Response

Answers grouped by question name, with the model used and token usage.

model
string
required

Name of the model that answered the questions. May differ from the alias supplied in the request.

Example:

"jev-latest"

answers
Answers · object
required

Answers keyed by the question names supplied in the request. Each answer's type matches its question's type.

Example:
usage
Usage · object
required

Input and output token counts for this evaluation.

Example: