state and a set of questions. The model returns one typed answer for each question.
Use it for classification, routing, scoring, and yes/no checks, where you need a structured answer and not free text.
/v1/decisions is currently available through TypeSafe’s Jev models. It does not support streaming.Quick Start
cURL
Question Types
Each entry inquestions sets a type. The type sets the shape of the answer:
criteria gives the type-specific detail. For a choice question, it is the set of labels.
Gateway Features
Decisions requests go through the same gateway as other endpoints:- Routing — Retries, fallbacks, load balancing, and circuit breaking through Configs
- Caching — Simple and semantic caching
- Guardrails — Before-request checks on the
statefield only. See Guardrails for Decisions - Observability — Logs, cost tracking, and analytics in Observability
API Reference
- Create a Decision —
POST /v1/decisions
TypeSafe
Provider setup and pricing
API Reference
Decisions API reference
Universal API
All API formats
Guardrails for Decisions
Scan
state before it reaches the model
