TypeSafe-compatible typed questions

Drop-in for TypeSafe's `POST /v1/systemone` with `model: "decision-machine-1"`. One `state` (string, object or array), a map of named questions of type `noul`, `choice` or `score`, and one typed answer per question with the model's own probabilities. Each question runs as the matching capability (yes-no, classify, rate) on the same text and counts as one request against the rate limit. No image input on this route.

Authentication

AuthorizationBearer

A milliseconds API key, test_sk-{namespace}-{entropy} or prod_sk-{namespace}-{entropy}. Every /v1 route requires it.

Request

This endpoint expects an object.
statestring or double or boolean or map from strings to any or list of anyRequired
A string, or an object or array rendered to text.
questionsmap from strings to objectsRequired
modelstringOptional

Response

One answer per question
modelstring
answersmap from strings to objects
usageobject

Errors

400
Bad Request Error
404
Not Found Error