WRITE — Save a scenario in K-Φ, so it appears in the app's Simulation page with its levers (and can be run again with kphi_run_scenario)
WRITE — Save a scenario in K-Φ, so it appears in the app's Simulation page with its levers (and can be run again with kphi_run_scenario). Give a name and the levers ([{ type, params }], see kphi_scenario_levers); pass scenario_id to replace the levers of a scenario saved before. Call only after kphi_run_scenario on the same levers, and pass the same scope (version, period, entity, BU): a custom lever's account class is resolved on it. The result lists the stored levers with their classes — report them. Requires the mcp:write scope.
post/api/v1/save_scenario
Request
- Base URL: https://k-phi.com (the document declares no server; this is the origin it was published from)
- URL: https://k-phi.com/api/v1/save_scenario
- Auth: HTTP bearer
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.