Submit TypeSafe System One judgment
curl --request POST \
--url https://api.omnimux.ai/v1/systemone \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "jev-latest",
"state": {
"ticket_id": "T-1042",
"message": "Customer requests a full refund after missing delivery."
},
"questions": {
"needs_escalation": {
"type": "noul",
"instructions": "Return true if this ticket requires human escalation."
},
"priority": {
"type": "choice",
"criteria": {
"high": "Financial dispute or missed SLA",
"normal": "General inquiry"
}
}
}
}
'import requests
url = "https://api.omnimux.ai/v1/systemone"
payload = {
"model": "jev-latest",
"state": {
"ticket_id": "T-1042",
"message": "Customer requests a full refund after missing delivery."
},
"questions": {
"needs_escalation": {
"type": "noul",
"instructions": "Return true if this ticket requires human escalation."
},
"priority": {
"type": "choice",
"criteria": {
"high": "Financial dispute or missed SLA",
"normal": "General inquiry"
}
}
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
model: 'jev-latest',
state: {
ticket_id: 'T-1042',
message: 'Customer requests a full refund after missing delivery.'
},
questions: {
needs_escalation: {
type: 'noul',
instructions: 'Return true if this ticket requires human escalation.'
},
priority: {
type: 'choice',
criteria: {high: 'Financial dispute or missed SLA', normal: 'General inquiry'}
}
}
})
};
fetch('https://api.omnimux.ai/v1/systemone', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.omnimux.ai/v1/systemone"
payload := strings.NewReader("{\n \"model\": \"jev-latest\",\n \"state\": {\n \"ticket_id\": \"T-1042\",\n \"message\": \"Customer requests a full refund after missing delivery.\"\n },\n \"questions\": {\n \"needs_escalation\": {\n \"type\": \"noul\",\n \"instructions\": \"Return true if this ticket requires human escalation.\"\n },\n \"priority\": {\n \"type\": \"choice\",\n \"criteria\": {\n \"high\": \"Financial dispute or missed SLA\",\n \"normal\": \"General inquiry\"\n }\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"model": "jev-1.14.0",
"answers": {
"needs_escalation": {
"type": "noul",
"answer": true
},
"priority": {
"type": "choice",
"answer": "high"
}
},
"usage": {
"input_tokens": 312,
"output_tokens": 0
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}TypeSafe
TypeSafe System One
Submit structured choice, score, noul, and box decisions to TypeSafe Jev models.
POST
/
v1
/
systemone
Submit TypeSafe System One judgment
curl --request POST \
--url https://api.omnimux.ai/v1/systemone \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "jev-latest",
"state": {
"ticket_id": "T-1042",
"message": "Customer requests a full refund after missing delivery."
},
"questions": {
"needs_escalation": {
"type": "noul",
"instructions": "Return true if this ticket requires human escalation."
},
"priority": {
"type": "choice",
"criteria": {
"high": "Financial dispute or missed SLA",
"normal": "General inquiry"
}
}
}
}
'import requests
url = "https://api.omnimux.ai/v1/systemone"
payload = {
"model": "jev-latest",
"state": {
"ticket_id": "T-1042",
"message": "Customer requests a full refund after missing delivery."
},
"questions": {
"needs_escalation": {
"type": "noul",
"instructions": "Return true if this ticket requires human escalation."
},
"priority": {
"type": "choice",
"criteria": {
"high": "Financial dispute or missed SLA",
"normal": "General inquiry"
}
}
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
model: 'jev-latest',
state: {
ticket_id: 'T-1042',
message: 'Customer requests a full refund after missing delivery.'
},
questions: {
needs_escalation: {
type: 'noul',
instructions: 'Return true if this ticket requires human escalation.'
},
priority: {
type: 'choice',
criteria: {high: 'Financial dispute or missed SLA', normal: 'General inquiry'}
}
}
})
};
fetch('https://api.omnimux.ai/v1/systemone', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.omnimux.ai/v1/systemone"
payload := strings.NewReader("{\n \"model\": \"jev-latest\",\n \"state\": {\n \"ticket_id\": \"T-1042\",\n \"message\": \"Customer requests a full refund after missing delivery.\"\n },\n \"questions\": {\n \"needs_escalation\": {\n \"type\": \"noul\",\n \"instructions\": \"Return true if this ticket requires human escalation.\"\n },\n \"priority\": {\n \"type\": \"choice\",\n \"criteria\": {\n \"high\": \"Financial dispute or missed SLA\",\n \"normal\": \"General inquiry\"\n }\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"model": "jev-1.14.0",
"answers": {
"needs_escalation": {
"type": "noul",
"answer": true
},
"priority": {
"type": "choice",
"answer": "high"
}
},
"usage": {
"input_tokens": 312,
"output_tokens": 0
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
},
"detail": "<unknown>"
}- Official TypeSafe System One judgment API, exposed synchronously on both
POST /v1/systemone(vendor path for TypeSafe SDKs) andPOST /typesafe/v1/systemone. - Authenticate with a Gateway API key (
Authorization: Bearer sk-...) againsthttps://api.omnimux.ai. - Execution is synchronous and does not retain task snapshots on retrieval endpoints.
Models
| Model ID | Notes |
|---|---|
jev | OmniMux compatibility alias routed to jev-latest |
jev-latest | Latest stable Jev release |
jev-1.14.0 | Pinned Jev 1.14 release |
jev-1.13.0 | Pinned Jev 1.13 release |
jev-preview | Preview Jev release |
Request contract and JSON order
Only four top-level fields are accepted in a JSON payload or therequest multipart field: model, state (non-null string, object, or array), questions (non-empty object), and optional assets. Any other top-level member is rejected.
stateJSON member order is preserved verbatim before upstream serialization because Jev output depends on field ordering.- Each entry in
questionsrequirestype(choice,score,noul, orbox) and type-matchingcriteria(choice: 1 to 255 options;score: 1 to 10 non-null levels;noul: optionaltrue/falsedescriptions;box: omit criteria).
Images and multipart uploads
Pass images insideassets as base64 strings, or upload binary PNG/JPEG parts via multipart/form-data with the serialized JSON request placed in the first field named request and each asset value matching its part name. Whenever assets or a box question is present, the gateway automatically forwards TypeSafe-Danger-Zone-Images: true upstream.
Context budget and billing
- Standard context budget allows 64Ki input tokens (up to 65,792 billed input tokens including TypeSafe’s 256-token request prefix). Send header
TypeSafe-Danger-Zone-Long-Context: trueto enable the 256Ki budget (up to 262,400 billed input tokens). - Input tokens are billed at
$0.042per 1M input tokens and output tokens are free. Each request reserves the selected context budget (65,792or262,400input tokens) up front and settles to actualusage.input_tokenson completion, returning402when balance is insufficient. - Upstream
422validation errors preserve the nativedetailpayload and refund the reserved quota. For common gateway status codes, see Connection and usage.
Authorizations
Headers
Body
application/jsonmultipart/form-data