TypeSafe
Configure TypeSafe deployments for the Jev decision models.
Configure a deployment
Send this body to POST /admin/deployments with an operator credential. Replace the example
credentials. See Creating deployments for the shared configuration
fields.
{
"publicModel": "triage",
"adapterKey": "typesafe",
"upstreamModel": "jev-1.14.0",
"credentials": { "apiKey": "..." }
}Behavior and limitations
- Credentials:
apiKeyis required.baseUrland customheadersare optional. The default base URL ishttps://api.typesafe.ai. - Operation: decisions only. The adapter sends
POST /v1/systemonethrough thesystemonetransport, whichever public contract the request came in on. - Models:
jev-1.14.0,jev-1.13.0and thejev-latestalias, which TypeSafe moves to its newest stable release. Only Jev 1.14 answersboxquestions. - Images: inline PNG or JPEG only, up to 16 MiB each; image URLs are not accepted. The gateway
sends them as
assetsand addsTypeSafe-Danger-Zone-Images: trueto requests with images or box questions. - Long context: Jev reads 65,536 tokens per request by default. To raise it to 262,144, set
"headers": { "TypeSafe-Danger-Zone-Long-Context": "true" }in the deployment's credentials. - Input: Jev takes a single state, so conversations and tool items are flattened into one labeled input, and audio, video and documents are not accepted.
- Pricing: $0.042 per million input tokens; output is free.
Next steps
- Decisions — the three public contracts and how they translate.
- Model catalog — the
decision.createprofile. - Routing — retries, fallback, health and price strategy.