Inputs
| Field | Type | Valid domain |
|---|---|---|
| cashOnHand | float | 10,000 – 100,000,000 |
| monthlyBurn | float | 5,000 – 5,000,000 |
| monthlyRevenue | float | 0 – 5,000,000 |
| revenueGrowthRate | float | 0 – 0.15 |
| burnGrowthRate | float | 0 – 0.05 |
- ranOutOfCash / reachesCashflowPositive (booleans) are the authoritative signals: runwayMonths = 120 is the 10-year horizon truncation and firstCashflowPositiveMonth = 0 means none within it — never read those numbers without the booleans.
All fields required. Out-of-domain values are rejected with per-field errors — never clamped. Unknown fields are rejected.
Live example — generated from the real engine
Request
POST /api/v1/models/burn-rate-runway
{
"cashOnHand": 50005000,
"monthlyBurn": 2503000,
"monthlyRevenue": 2500000,
"revenueGrowthRate": 0.08,
"burnGrowthRate": 0.03
}Response (chart arrays compacted)
{
"ok": true,
"model": "burn-rate-runway",
"specVersion": "1.0.0",
"contractUrl": "/api/v1/models/burn-rate-runway",
"specUrl": "/api/v1/models/burn-rate-runway/spec",
"inputs": {
"cashOnHand": 50005000,
"monthlyBurn": 2503000,
"monthlyRevenue": 2500000,
"revenueGrowthRate": 0.08,
"burnGrowthRate": 0.03
},
"outputs": {
"runwayMonths": 120,
"ranOutOfCash": false,
"reachesCashflowPositive": true,
"firstCashflowPositiveMonth": 2,
"endingCash": 317612164426.66016,
"monthlyData": [
{
"month": 1,
"revenue": 2500000,
"burn": 2503000,
"netBurn": 3000,
"endingCash": 50002000
},
{
"month": 2,
"revenue": 2700000,
"burn": 2578090,
"netBurn": -121910,
"endingCash": 50123910
},
"… 118 more"
]
},
"sentinels": [],
"assumptions": [
"Implements model spec burn-rate-runway v1.0.0 (dual-implementation verified).",
"ranOutOfCash / reachesCashflowPositive (booleans) are the authoritative signals: runwayMonths = 120 is the 10-year horizon truncation and firstCashflowPositiveMonth = 0 means none within it — never read those numbers without the booleans."
],
"facts": [],
"record": {
"sha256": "28548bb5e222a0087a3ce1beaab12812d76459c9ae28dc125f649619ab0f0f83",
"fields": [
"model",
"specVersion",
"inputs",
"outputs"
],
"howToVerify": "Store this record with any advice or agent output built on these numbers. To verify later: build {model, specVersion, inputs, outputs} from the stored response, serialize as JSON with object keys sorted recursively (no whitespace), and SHA-256 it — a match proves the numbers came from this spec version with these inputs, unaltered."
},
"disclaimer": "Illustrative planning model, not financial advice. Outputs follow the published model spec exactly; read the spec for assumptions and exclusions before relying on any number."
}This example is executed against the production engine when the page builds — it cannot drift from the API's real behavior.