Skip to main content
POST /decisions answers typed questions with a decisions model that a provider serves. The request and the response are those of System One: a state, a map of questions, and one typed answer per question with its probabilities. Errors come back in the envelope the OpenAI and OpenRouter SDKs read. The model is served on this route only. It is not listed on GET /openai/models and does not answer Chat Completions or /typesafe.
The request asks two questions about one receipt image and returns a choice answer and a noul answer, in the System One response shape: id, model, answers, and usage. /v1/decisions is an alias of the same route.
Response
The read bills 1,254 input tokens at $0.10 / 1M, so usage.cost is $0.000125.

Differences from System One

Calls spend the same rate-limit budget as Chat Completions.

Errors

Every error, auth and validation included, uses this envelope:
code is the HTTP status, as OpenRouter reads it. type and param follow OpenAI.

Next steps

System One

Question types, inputs, confidence, and cost levers.

System One API

The full request and response schema.