Skip to main content

Create decision (Jev format)

POST 

/systemone

Preview. The same decision models in the System One format of TypeSafe Jev (POST /v1/systemone), for callers and tools migrating from Jev: state is any JSON value, questions is an object keyed by your own ids, and the question types are noul (yes or no), choice and score, with the options or levels in criteria. The answers come back under the same ids. Add "calibration": "raw" to get uncalibrated probabilities.

A question the model service cannot read is refused with HTTP 422, as Jev does; the error body is the same error object as on every other route. Access, billing (input tokens only), limits and the other errors are the same as on Create decision. See the Decisions guide.

Request​

Responses​

One answer per question, under the question's id.