System One: Jev decisions
Native typed decisions: yes/no probabilities, choices and rubric scores. Check model availability through /v1/models.
Endpoint
- POST /systemone
- One state and several named questions; answers preserve the question names.
Mixed question batch
{
"model": "typesafe/jev-1.14.0",
"state": "I was charged twice. Please refund the extra charge.",
"questions": {
"billing": {
"type": "noul",
"instructions": "Is this about billing?"
},
"team": {
"type": "choice",
"instructions": "Which team should handle this?",
"criteria": {
"billing": "Charges and refunds",
"shipping": "Deliveries"
}
},
"urgency": {
"type": "score",
"instructions": "Rate urgency",
"criteria": [
"Routine",
"Urgent"
]
}
}
}Responses, tokens and limits
Noul returns a noul probability between 0 and 1; Choice returns choice, probabilities and confidence; Score returns score, probabilities, confidence and legend. Retain the native response fields. usage.input_tokens and usage.output_tokens are recorded separately; the selected route tariff determines the charge.
Use your existing CloseRouter API key. With the TypeSafe SDK set the base URL to https://api.closerouter.dev and use the full model ID. In the JavaScript SDK set compression: false to send ordinary JSON. Disable automatic retries if an ambiguous response must not buy another decision.
Jev 1.14 does not support streaming, text generation, tools, images/Box or reasoning_effort. The optional TypeSafe-Danger-Zone-Long-Context: true header is forwarded without enabling it by default. Header acceptance does not prove an expanded context limit; the selected provider governs both total-request and per-question limits.
Native validation errors return 422 and detail entries with loc/msg/type. Provider errors retain their HTTP status and sanitized detail; respect Retry-After for 429/529. API key, balance and routing failures use the ordinary CloseRouter error envelope.