> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inquantum.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Decision Models

> Get typed decisions and probabilities about supplied state through the Planck Gateway.

`POST /v1/decisions` sends named questions and shared state to a structured Decision Model. The response contains an `answers` object keyed by question name and may include provider usage and request identity. The answers can inform routing or review in your application. Your application owns any action taken from the result.

## Find a model

Call `GET /v1/models` with your Planck API key and look for the `decisions` operation. Select the explicit OpenRouter model ID. Decision routes require a Planck API key with model access and an OpenRouter key configured for that organization under **Settings → Providers**.

```bash theme={null}
curl https://api.inquantum.ai/v1/decisions \
  -H "Authorization: Bearer $PLANCK_API_KEY" \
  -H "planck-billing-mode: byok" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openrouter/microsoft/microsoft-decision-1.1",
    "state": {"ticket": "I need a copy of the previous invoice."},
    "questions": {
      "billing": {
        "type": "noul",
        "instructions": "Is this a billing request?"
      }
    }
  }'
```

Questions can be `noul` (yes/no probability), `choice` (select an option), `score` (score against an ordered rubric), or `box` (locate a region), subject to the model's support. Use non-sensitive names for JSON keys. A tenant's sensitive-data policy determines whether media may be submitted. OpenRouter's [Decisions API reference](https://openrouter.ai/docs/client-sdks/typescript/sdks/decisions/README.md) describes criteria, media and provider-specific requirements.

This operation uses customer OpenRouter billing. HTTP and per-question provider errors remain visible to the caller. Calibrate probabilities against your own workload and handle uncertainty before using an answer in a decision rule.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.