RightNow decision model
Get an API keyUpdated
On this page
The RightNow decision model makes structured decisions: send a state and named questions, then read probabilities, confidence and typed answers.
Send state and named questions. Read the answer for each question.
An Idempotency-Key allows a stored answer to be replayed when available. Read the data handling and training terms.
At a glance
- Endpoint
POST https://api. rightnowai. co/ v1/ decisions - Earlier key (
rnsk_) POST https://api. rightnowai. co/ v1/ decision-model/ decide - Key
Authorization: Bearer $RIGHTNOW_API_KEY- Model
rightnow-decision- State
- Text, a JSON object or a JSON array.
- Questions
noul,choiceandscore. An earlier key usesbooleanin place ofnoul.- Model discovery
GET /v1/modelsanswers by the key that calls it. With an earlier decision model key, one that starts withrnsk_, it returns attested models and their limits, then your account's open models for a key that also works with the open models. With a key from the API keys page, it returns your account's open models and the RightNow decision model.
With a key from the API keys page, call POST /v1/decisions: see Call it with your key.
Inline input: text, JSON state (robot state), images, voice, PDF, video (preview). Only listed formats are supported. See Inputs for input formats and availability.
Start here
Quickstart
Install an SDK, send a request and read the answer.
API reference
Send state and named questions; read answers, headers, errors and the event stream reply.
Errors
Read refusal codes and retry flags. Keep the request ID for support.
Coding agent setup
Give your coding agent the integration skill and a key from the server environment.
For AI coding agents
Read the docs index or add the integration skill.