Jev / TypeSafe System One API
Call Jev with an APIMaster API key using native Choice, Score, and Noul questions.
Jev / TypeSafe System One
Send POST https://apimaster.ai/v1/systemone with model jev-latest. Jev evaluates typed questions against a shared state and returns structured answers. It does not generate chat text or support streaming.
curl 'https://apimaster.ai/v1/systemone' \
-H "Authorization: Bearer $APIMASTER_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "jev-latest",
"state": "The payment has failed for three days. Please help immediately.",
"questions": {
"urgent": {"type": "noul", "instructions": "Does this message express urgency?"},
"department": {
"type": "choice", "instructions": "Which team should handle this?",
"criteria": {"billing": "Payment issues", "technical": "Software bugs"}
},
"frustration": {
"type": "score", "instructions": "How frustrated is the customer?",
"criteria": ["Calm", "Frustrated", "Very angry"]
}
}
}'
state accepts a string, object, or array. Each named question produces an answer under the same key in answers.
| Type | Result |
|---|---|
noul |
Probability from 0 to 1 |
choice |
Selected choice, probabilities, confidence |
score |
Score, legend, probabilities, confidence |
Native response fields, including the actual model version and usage, are preserved. Billing uses upstream usage.input_tokens; output is free. See the marketplace for current APIMaster prices. Recorded output tokens do not imply output charges.
The current model accepts text and structured text, with 64k tokens across state and all questions and 32k across state and the longest question. jev-latest follows the provider's stable release.
Use an APIMaster key. Invalid requests and streaming requests return JSON errors. For 429 or 529, back off and honor Retry-After when present. Ordinary Chat Completions clients cannot directly call this endpoint. APIMaster /v1/models retains its existing model-list format, which differs from TypeSafe's model-list response.
References: TypeSafe API, models.
Marketplace prices are channel base prices. Billing also applies your account group multiplier (currently 1.05 for the default group); output remains free.
