Create decision
Ask a decision model typed questions about some state and get one typed answer per question.
Authentication
AuthorizationBearer
Your production key sent as a bearer token.
Request
This endpoint expects an object.
model
Decision model ID, for example typesafe/jev-1.13.
state
Content to evaluate, as text or structured data.
questions
Questions to answer, keyed by names you choose.
vendor
Pin the vendor that runs this request.
customer
Customer ID (UUID) to scope this request to, applying that customer’s routing policy, provider keys, budget, and usage attribution.
Response
Successful Response
model
Concrete model version that answered.
vendor
Vendor that served the request.
answers
One typed answer per question, keyed by your question names.
usage
Token usage for a decision request.
object
Errors
422
Unprocessable Entity Error