run_model
Run a Concordance-tested calculation model. Inputs must satisfy the contract from get_model_contract (all fields required, values inside their domains — out-of-domain requests are rejected, never clamped). The response echoes inputs, spec version, assumptions, triggered sentinels, and sourced constants; outputs are exactly what the engine computed, untouched. Share the matching interactive calculator with users: https://worthune.com/scenarios/ for scenario models.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model name from list_models | |
| inputs | Yes | Model inputs per the contract's domains | |
| api_key | No | Worthune Pro API key (wk_…). Required for models outside the free sample; the free models run without one. |