Skip to main content
POST
Evaluate state against typed questions (TypeSafe System One)

Authorizations

Authorization
string
header
required

Gateway API key (imp-rt-...) from POST /v1/accounts or /v1/keys.

Body

application/json
model
string
required
Example:

"typesafe-ai/jev"

state
required

The content to evaluate — a plain string, or structured data such as a record or chat log.

questions
object
required

Question ids you choose; answers come back under the same ids.

assets
object

Images, keyed by the reference string written wherever each image belongs in state, instructions or criteria. Each has data_base64 + format (png or jpg), or part naming a multipart file part. Needs the TypeSafe-Danger-Zone-Images: true header.

Response

One answer per question, keyed by the ids you chose, plus the concrete model version and token usage.

model
string
required

The concrete model version that answered.

Example:

"jev-1.13.0"

answers
object
required
usage
object
required
request_id
string