Changelog

Introducing the Decisions API

MINIROUTER / DECISIONSPOST /v1/evaluate

Context in.
Decisions out.

YOUR CONTEXT

“My order arrived broken.
I need a replacement.”

Decision model
Probability0.98
Choicereturns
Score1.6 / 2

Illustrative workflow · One context. Multiple questions. Structured answers.

Turn the context your app already has into the next decision it needs to make.

Classify a request, choose a route, or score an answer. Ask several questions about the same input and get structured results your code can use.

01 / THE IDEA

Ask once. Decide what happens next.

  1. 01Give it context

    A support ticket, a document, an agent’s work.

  2. 02Define the decisions

    Ask a yes/no question, offer choices, or set a scoring rubric.

  3. 03Use the answers

    Route the ticket, flag a review, or choose the next step.

02 / IN PRACTICE

One message. Three useful answers.

Switch the example to see how a support workflow can use each question type.

Illustrative example · no API call

Customer message

My headphones arrived broken. I need a replacement before tomorrow.

Boolean

Damaged product?

98%
Probability of yes
Choice

Support team

returns
One of three teams
Score

Urgency

1.6 / 2

Damaged order: 98% probability of a damaged product. Support team: returns. Urgency: 1.6 out of 2, from routine to urgent.

View request
PPLX Decider Flash · cURL
curl --fail-with-body https://api.minirouter.sh/v1/evaluate \
  -H "Authorization: Bearer $MINIROUTER_KEY" \
  -H 'Content-Type: application/json' \
  --data '{
  "model": "perplexity/pplx-decider-flash-v1.2",
  "state": "My headphones arrived broken. I need a replacement before tomorrow.",
  "questions": {
    "damaged": {
      "type": "boolean",
      "instructions": "Does the customer report a damaged product?"
    },
    "team": {
      "type": "choice",
      "instructions": "Which support team should handle this?",
      "criteria": {
        "returns": "Damaged products and replacements",
        "billing": "Payments and charges",
        "delivery": "Tracking and delivery updates"
      }
    },
    "urgency": {
      "type": "score",
      "instructions": "How urgent is the request?",
      "criteria": [
        "Routine",
        "Soon",
        "Urgent"
      ]
    }
  }
}'
03 / THE MODELS

Choose your decision model.

Available models from the MiniRouter catalog. Open a model to see its endpoints, prices and request limits.

Liquid d1

liquid/d1

Liquid d1 Ultra

liquid/d1-ultra

Decision-1

microsoft/microsoft-decision-1

GPT-6 Luna Decisions

openai/gpt-6-luna-decisions

Decider Flash V1.2 4B

perplexity/pplx-decider-flash-v1.2

Decider V1.2 27B

perplexity/pplx-decider-v1.2

Jev

typesafe-ai/jev

Jev 1.13.0

typesafe-ai/jev-1.13.0

Jev 1.14.0

typesafe-ai/jev-1.14.0

Use your MiniRouter API key with the endpoints listed on each model page. Jev also supports the native TypeSafe format at /typesafe/v1/systemone.

04 / BUILD WITH IT

A small decision. A useful next step.

Route requests

Choose a queue, a tool, or the next model.

Evaluate work

Score an answer against the criteria you define.

Check a condition

Estimate whether a task is complete or needs review.

A probability is a model estimate. Set thresholds and review rules that fit your application.

See what else shipped.