GET

/v1/schemas/ollaya/decision/v1/systemone

kind inputactivity decisionhash 20148d45…extracted Nov 10, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

docs-derived

Source trace
410cc4af16baf243a8e08773a2fa9092b0dcad63166e4835f60947cf49012174
{
  "fetchedAt": 1794287449,
  "extractorVersion": "2",
  "verifiedAt": null
}

Request body

3 properties · 3 required · 4 $defs
propertytypedescriptionconstraints
model*stringModel name, `[namespace/]model[:tag]`, e.g. `laya` (= `laya:latest`) or `laya:en`. Must be pulled on the server.length ≥ 1
state*string | object | any[]The content every question is about. At most 65,536 tokens; a state that does not fit the model context is 422 STATE_TRUNCATED.
questions*objectQuestion id → question, answered in this order.

Types

4 $defs

ChoiceQuestionobject

type*const"choice"
instructionsstring | object | any[]What the model should decide. Absent or null: the question id is read in its place.nullable
criteria*object | string[]Labels, 2–255: an object label → description, or (Ollaya extension) an array of label strings.
ordinalanyLabels are in order (Ollaya extension, 2–10 labels). Only models with an ordinal head (Decima) accept true; others return 422.

NoulQuestionobject

type*const"noul"
instructionsstring | object | any[]What the model should decide. Absent or null: the question id is read in its place.nullable
criteriaobjectOptional descriptions of when the statement is true or false.nullable

Questionobject | object | object

ScoreQuestionobject

type*const"score"
instructionsstring | object | any[]What the model should decide. Absent or null: the question id is read in its place.nullable
criteria*string | object | any[][]Level descriptions, level 0 first.items ≥ 2 · items ≤ 10

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"ollaya","endpointId":"v1/systemone","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}