post
https://api.macpaw.com/v1/decisions
Asks a decision model typed questions about a state and returns typed answers with probabilities instead of generated text. Requests and responses follow OpenRouter's Decisions API.
Models: the entries of GET /v1/model/info with output_modality: decisions.
Required fields: model (provider/model format), state and questions (at least one).
Question types:
| Type | Asks | Answer |
|---|---|---|
noul | yes or no; criteria has true and false | noul: probability of yes, 0–1 |
choice | one of the options in criteria | choice, probabilities per option, confidence |
score | a position on the ordered scale in criteria | score, probabilities per level, legend, confidence |
A question the model declines comes back as an answer of type refusal; the other answers are still returned. box questions are not supported.
Output tokens are free; usage reports token counts.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
