Interpret supplied input, then execute a model
Supply the complete aityx model and evidence. Valid explicit facts are preserved; OpenAI establishes unresolved fields and their confidence from the supplied data. Extracted values are checked against the schema before local evaluation. Missing required evidence fails instead of being guessed. No model is created and Jev is not called. Interpretation and execution settle one System Two charge using API input/output tokens. Provider usage is reported separately, not charged again.
/v1/systemtwo/decisionsAuthorizationBearer token · headerrequiredAccount API key
application/jsondecisionNativeModelrequiredComplete native decision definition. Answer names and types are inferred locally from its decisions; no questions or output metadata is required.
Show propertiesHide properties
namestringrequiredinputsobjectrequiredInputs declare native types. In combined execution, from="jev:<JSON Pointer>" binds a field or complete answer from the original Jev result. Objects and lists support typed records or Any.
decisionsobjectrequiredfunctionsobjecttypesobjectstateStaterequiredShow propertiesHide properties
objectanyanystringInterpreted facts, answers, inline receipt and one settled System Two charge
answersobjectrequiredNamed Jev and native outputs. Native decisions own overlapping names; original Jev facts remain in the input trace.
receiptReceiptrequiredComputed values and input provenance without repeating supplied state. Not persisted.
Show propertiesHide properties
readobjectJev scalar facts and bound response data (source=jev with optional from pointer) or OpenAI observations (source=openai).
provenanceobjectdecisionsobjectfunctionsobjectusageUsagerequiredShow propertiesHide properties
input_tokensintegerrequiredoutput_tokensintegerrequireddecision_errorDecisionErrorShow propertiesHide properties
codestringrequireddetailstringrequirederrorsobject[]Request failed; no completed operation charge is settled. Completed Jev with model failure uses the HTTP 200 partial response instead.
statusintegercodestringdetailstringerrorsobject[]Request failed; no completed operation charge is settled. Completed Jev with model failure uses the HTTP 200 partial response instead.
statusintegercodestringdetailstringerrorsobject[]insufficient_balance; available funds cannot cover the request reservation
statusintegercodestringdetailstringerrorsobject[]Request failed; no completed operation charge is settled. Completed Jev with model failure uses the HTTP 200 partial response instead.
statusintegercodestringdetailstringerrorsobject[]Request failed; no completed operation charge is settled. Completed Jev with model failure uses the HTTP 200 partial response instead.
statusintegercodestringdetailstringerrorsobject[]Request failed; no completed operation charge is settled. Completed Jev with model failure uses the HTTP 200 partial response instead.
statusintegercodestringdetailstringerrorsobject[]Request failed; no completed operation charge is settled. Completed Jev with model failure uses the HTTP 200 partial response instead.
statusintegercodestringdetailstringerrorsobject[]Request failed; no completed operation charge is settled. Completed Jev with model failure uses the HTTP 200 partial response instead.
statusintegercodestringdetailstringerrorsobject[]
