Skip to main content
POST
Post System One decision

Guide: System One Decisions

Quickstart, question types, writing questions, pricing, and errors.

Authorizations

Authorization
string
header
default:Bearer <api-key>
required

Bearer authentication header of the form Bearer <api-key>, where <api-key> is your API key.

Body

application/json
state
required

The content System One reads to answer the questions: a string, or a JSON object or array of related context.

questions
object
required
session_id
string
Maximum string length: 256
user
string
trace
object

Response

Successful decision response.

id
string
model
string
provider
string
answers
object
usage
object