Evaluate typed questions
POST /v1/decisions
A decision model evaluates a shared JSON-compatible state against independent noul, choice, and score questions. The result contains one typed answer per question ID; thresholds and actions stay in your code. Requests do not stream or retain state. Request and answer shapes follow the TypeSafe System One API, so TypeSafe SDKs work with base URL https://ai.bkper.app.
Authorizations
Parameters
Header Parameters
Stable lowercase client or application identifier used for usage attribution. Invalid values are recorded as unknown.
Request Body required
object
Canonical decision model ID or accepted compatibility alias.
Nonempty map of independently evaluated named questions.
object
Responses
200
Typed answers for every question
object
Concrete model revision that produced these answers, such as jev-1.13.0.
object
object
object
Probability distribution keyed by option or zero-based score level.
object
object
object
Probability distribution keyed by option or zero-based score level.
object
object
400
Invalid decision request
object
object
401
Missing or invalid Bkper bearer token
object
object
402
Subscription payment is overdue
object
object
403
Bkper AI entitlement is unavailable
object
object
429
Monthly allowance exhausted or provider throttled
object
object
499
Client aborted the request
object
object
502
Provider or transport failure
object
object
503
Decision model provider is temporarily overloaded or quota usage is unavailable