Skip to main content
POST
Answer typed questions about an input (Google Decisions)

Authorizations

Authorization
string
header
required

Gateway API key (imp-rt-...) from POST /v1/accounts or /v1/keys.

Body

application/json
model
string
required
Example:

"google/gemini-decision-1"

input
required

Text, or Interactions-style content blocks ({type: text|image|audio|video, ...}) evaluated by every question.

questions
object
required

Caller-named question ids; each answer comes back under the same key. Up to 1,000 questions per request.

Response

One answer per question, keyed by the question's id, plus token usage.

answers
object
required

noul carries noul (probability of yes) and confidence. choice carries choice, confidence and probabilities {option: probability}. score carries score (probability-weighted 0-based level), confidence, legend and probabilities {level index: probability}.

usage
object
required