cd /news/ai-products/typesafe-compatible-decision-models-… · home › topics › ai-products › article
[ARTICLE · art-146312] src=telnyx.com ↗ pub= topic=ai-products verified=true sentiment=↑ positive

TypeSafe-Compatible Decision Models (Beta) Now Available for Telnyx Inference

Telnyx released Decision Models (Beta), a TypeSafe-compatible inference endpoint at POST /v2/ai/typesafe/v1/systemone that evaluates shared context against up to 64 named questions and returns typed answers in a single request. The endpoint supports three answer types — choice (2 to 64 options), noul (yes/no), and score (ordered rubric) — and can combine all three in one call, with Telnyx noting scores are relative preferences across supplied choices rather than calibrated probabilities, so thresholds need tuning against real examples. TypeSafe System One API users can migrate requests in the supported subset by pointing their SDK at Telnyx with a Telnyx API key.

read2 min views9 publishedSep 22, 2026
TypeSafe-Compatible Decision Models (Beta) Now Available for Telnyx Inference
Image: Telnyx (auto-discovered)

Contact us

Log in

Voice AI agents and production automations spend most of their decision-making on small structured calls: route this ticket, flag this incident, score this urgency. Telnyx Inference now offers Decision Models (Beta), a TypeSafe-compatible endpoint that returns those decisions as typed answers in a single request.

POST /v2/ai/typesafe/v1/systemone evaluates shared context against up to 64 named questions and returns typed answers. It supports a subset of the TypeSafe System One API request format and preserves its typed answer shapes.choice selects a category from 2 to 64 options, noul evaluates a yes/no condition, and score rates input on an ordered rubric. A single request can combine all three.https://api.telnyx.com/v2/ai/typesafe and existing system_one() calls in the supported subset keep the same method and answer accessors with a Telnyx API key. Routing, flagging, and scoring are the most common judgment calls in production software, and teams usually build them by hand: prompt, parse, retry, repeat. Decision Models (Beta) returns typed answers with relative scores and confidence in one structured response, so application logic reads a field instead of parsing free text; scores are relative preferences across the supplied choices, not calibrated probabilities, so review thresholds need tuning against real examples. TypeSafe compatibility means teams on the TypeSafe System One API can migrate requests in the supported subset by pointing the SDK at Telnyx. Agents and automations make many small decisions per run, and this is the API surface for them, tuned for cost and latency as beta continues.

curl --fail-with-body --max-time 100 \
  'https://api.telnyx.com/v2/ai/typesafe/v1/systemone' \
  -H "Authorization: Bearer $TELNYX_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{
    "state": "Our production calls are failing. Every customer is affected.",
    "questions": {
      "team": {
        "type": "choice",
        "instructions": "Choose the team that should handle this incident.",
        "criteria": {
          "billing": "Payments and refunds",
          "technical_support": "Service faults and technical problems",
          "sales": "New purchases"
        }
      },
      "production_incident": {
        "type": "noul",
        "instructions": "Does the message describe an active production incident?"
      },
      "urgency": {
        "type": "score",
        "instructions": "Rate operational urgency.",
        "criteria": ["Low", "Normal", "High", "Critical"]
      }
    }
  }'

The response returns model, answers, and usage at the top level. Abbreviated sample:

{
  "model": "telnyx-managed",
  "answers": {
    "team": {"type": "choice", "choice": "technical_support", "confidence": 0.982},
    "production_incident": {"type": "noul", "noul": 0.999},
    "urgency": {"type": "score", "score": 2.997, "legend": {"0": "Low", "1": "Normal", "2": "High", "3": "Critical"}}
  },
  "usage": {"input_tokens": 267, "output_tokens": 4}
}

Values vary per request. See the docs for the full response schema.

Learn more in the Decision Models (Beta) docs or the API reference.

── more in #ai-products 4 stories · sorted by recency
── more on @telnyx 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/typesafe-compatible-…] indexed:0 read:2min 2026-09-22 · —