Promote Run
Make a model run's inputs the script's defaults.
Queues a default run (source promote). For every model, a successful candidate installs its INPUTS defaults, a revision build, membership and depths. Verified results publish in the same transaction; superseded results retain the prior allocations and queue a fresh run. Execution failures preserve prior defaults and results. Required child models settle before execution. Successful live runs cascade to dependents. Answers 202 with that run, or 200 with it finished when wait=true. Models only (409 not_promotable for other kinds); 409 when the run is not complete, the script changed beyond INPUTS defaults, the run already uses the defaults, or a default run is in flight. A run from an earlier revision still promotes when the live script differs only in those default literals.
Request
- Base URL: https://api.ensemble.markets (the document declares no server; this is the origin it was published from)
- URL: https://api.ensemble.markets/v1/runs/{run_id}/promote
- Auth: HTTP bearer
Path parameters
Run ID (run_... or legacy mr-/r-...). Use the returned ID; kind identifies the program type.
Query parameters
Block until the new default run finishes
Response
Completed inline (wait=true)
Changes
No recorded changes to this operation across all 1 revision of this API.