Create a decision
POST/v1/decisions
Answers typed questions about input, compatible with OpenAI's Decisions API: a
predicate returns the probability a statement is true, a choice returns the
most probable of its choices with the distribution and a confidence, and a
score returns the probability-weighted 0-based index of its levels. Answers come
back in question order with each question's name. model names any model in the
Spicepod: a decision model such as TypeSafe Jev, whose probabilities are
calibrated, or a chat model, whose probabilities are its own estimates.
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- 429
- 500
- 503
The answers, in question order
Invalid request, including unknown fields, image inputs, and reasoning_effort for a decision model
The model provider rejected the credentials
The model provider denied access
No model with this name
Rate limited
The model could not answer
The model provider is unavailable
