Skip to main content
The Decisions API returns a typed judgment instead of generated text. You send a 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
Response:

Question Types

Each entry in questions 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:

API Reference

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
Last modified on September 29, 2026