Skip to content
DecisionNodeDecisionNdedocs
  • Guides
  • API reference
  • Examples
  • Playground

start here

  • QuickstartGet startedGet an API key, send one request with three questions, and branch your code on the typed answers. Plain HTTPS, no SDK to install.
  • POST /v1/decideAPI referenceAnswer typed questions about a state and optional images. One request, one buffered JSON response, one answer per question.
  • QuestionsConceptsQuestions say what to decide. Each one has a type that fixes the shape of its answer: a choice from your options, a score on your scale, a…
  • ConfidenceConceptsProbabilities are calibrated per question type, so a threshold means what it says.
  • ImagesConceptsSend images and text in the same request. The model reads printed and handwritten text, amounts, dates, objects and layout, and answers…
  • Pricing and billingYou pay for input tokens only. Output is free because the model generates no text.
↑↓ moveopen6 suggestions
Get API keyGet API key
DecisionNodeDecisionNde

Get started

  • Introduction
  • Quickstart
  • With coding agents
  • Examples

Concepts

  • State
  • Questions
  • Choice
  • Score
  • Truth
  • Number
  • Images
  • Confidence
  • Determinism

Models

  • DecisionNode-1.0
  • DecisionNode-1.0 Flash
  • Limits

Patterns

  • Confidence-gated routing
  • Fan-out
  • Guardrails
  • Control loopscomingcoming soon

API reference

  • POST/v1/decide
  • POST/v1/sessionscomingcoming soon
  • GET/v1/models
  • Errors
  • Rate limits

Pricing and billing

  • Pricing and billing

Policies

  • Responsible use

Migrate

  • Coming from a Jev-shaped API
  • Benchmarks
  • Pricing
  • Playground
Get API key
  • Guides
  • API reference
  • Examples
  • Playground

Get started

  • Introduction
  • Quickstart
  • With coding agents
  • Examples

Concepts

  • State
  • Questions
  • Choice
  • Score
  • Truth
  • Number
  • Images
  • Confidence
  • Determinism

Models

  • DecisionNode-1.0
  • DecisionNode-1.0 Flash
  • Limits

Patterns

  • Confidence-gated routing
  • Fan-out
  • Guardrails
  • Control loopscomingcoming soon

API reference

  • POST/v1/decide
  • POST/v1/sessionscomingcoming soon
  • GET/v1/models
  • Errors
  • Rate limits

Pricing and billing

  • Pricing and billing

Policies

  • Responsible use

Migrate

  • Coming from a Jev-shaped API
  1. docs
  2. /
  3. Concepts

Questions

Questions say what to decide. Each one has a type that fixes the shape of its answer: a choice from your options, a score on your scale, a Truth (the probability that a statement is true), or a number on your grid.

on this page3 sections
  1. The questions map
  2. Question fields
  3. Writing questions that work

Four types. Every type names its answer: choice (one of your labels), score (a level on your scale), truth (a probability), number (a value on your grid).

  • Choice choice

    Goal
    Pick one option from the list you give
    What comes back
    choice (always one of your keys), probabilities per option, confidence
  • Score score

    Goal
    Place the input on your ordered scale or rubric
    What comes back
    score (expected level, for example 2.31 of 0 to 3), probabilities per level, legend, confidence
  • Truth truth

    Goal
    Is this statement true?
    What comes back
    truth, one probability from 0.00 to 1.00 that the statement is true
  • Number number

    Goal
    How many, or what value?
    What comes back
    number (a value on your grid), expected, confidence, probabilities per value
Question types
TypeGoalWhat comes back
Choice choicePick one option from the list you givechoice (always one of your keys), probabilities per option, confidence
Score scorePlace the input on your ordered scale or rubricscore (expected level, for example 2.31 of 0 to 3), probabilities per level, legend, confidence
Truth truthIs this statement true?truth, one probability from 0.00 to 1.00 that the statement is true
Number numberHow many, or what value?number (a value on your grid), expected, confidence, probabilities per value

What a Truth answer means

Is this statement true? One calibrated probability from 0.00 to 1.00 that the statement is true. 0.80 means true about 8 times in 10. Your code picks the cut-off: 0.50 for a plain yes or no, higher when acting on a false yes is costly.

What a Number answer means

How many, or what value? One value on a grid you set (min, max and an optional step), with a calibrated probability for every value: the most probable value, the expected value and the confidence. See Number.

The questions map#

questions is an object. Its keys are your names for the questions, and the answers come back under the same keys. Use short, stable names your code can read, such as route or refund. The keys are labels for your code: the model reads the type, the instructions and the criteria.

JSON
{
  "questions": {
    "route": {
      "type": "choice",
      "instructions": "Where should this go?",
      "criteria": { "billing": "money", "bug": "broken", "account": "login" }
    },
    "urgency": {
      "type": "score",
      "instructions": "How urgent is this?",
      "criteria": ["routine", "today", "urgent", "critical"]
    },
    "refund": {
      "type": "truth",
      "instructions": "Refund this automatically?"
    }
  }
}

Question fields#

type"choice" | "score" | "truth" | "number"required
Fixes the answer's shape: choice, score, truth or number.
instructionsstring
What to decide, in plain words. Optional on every type, but almost always worth one sentence, and a number question reads best with one.
criteriaobject | string[]
Choice: an object of option keys to what each option means (up to 255), required. Score: an array of levels from lowest to highest (up to 10), required. Truth: optional { "true": "...", "false": "..." } describing what true and false mean. Number: not used.
min, max, stepnumber
Number only: the grid of values the answer can take. Default 0 to 255, step 1; up to 256 values in the first release. See Number.

Writing questions that work#

  • Ask one thing. "Is this urgent and about billing?" is two questions. Split it and you get two calibrated answers.
  • Describe every option. "bug": "something is broken" beats a bare key. The description is what the model compares against.
  • Cover the space. If an input can fit none of your options, add one for that, such as "other": "none of these". A choice always returns one of your keys.
  • Order scales from low to high. Score levels are indexed from 0 in the order you send them, and the expected score depends on that order.
  • Phrase a Truth question as a statement that can be true. "Does the receipt show the same total as the claim?" reads better than "check the receipt".
  • Give a number question the range it can really take. "How many cars are visible?" on 0 to 50 for a ten-bay row, not the default 0 to 255. A tight grid puts the probability where it belongs.
previousStatenextChoice

DecisionNode is built and run by Bynn Intelligence, Inc.

  • Home
  • Playground
  • Examples
  • Console
  • Responsible use
  • Terms
  • Acceptable use
  • Privacy
  • Data processing
  • Defence addendum
  • Cookies

on this page

  1. The questions map
  2. Question fields
  3. Writing questions that work