|
|
ZeroTrain API – Structural ContractThis section defines the exact structure of ZeroTrain requests and responses. The API contract is deterministic and explicit. → Request StructureA ZeroTrain request is composed of: HTTP Header
JSON Payload
Required Components (JSON Payload)ModelSource
The Action column defines the deterministic outcome returned when a row is selected. InputSource
The engine compares InputSource values against each row in the ModelSource and selects the best structural match. Options
If Options are not supplied, default deterministic behavior is applied. ← Response StructureEvery request produces a structured response containing:
The response fully describes what was evaluated and the outcome selected. Identical ModelSource and InputSource payloads will always produce identical results. |