> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dalyenergy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rerun Saved Energy Model

> Run the currently saved energy-model JSON in place on the same row

# POST /energymodels/{energy_model_id}/run

Use this endpoint after `GET ...?include=inputs` and `PUT` when you want to run
the currently saved JSON on the same energy-model row.

## Notes

* The endpoint takes no request body.
* Reruns use the same current output contract as `POST /energymodels`, so the
  same `output.blockIndex`, `output.blockResults`,
  `output.lossBreakdownTimestamps`, and `output.irradianceLossDetail` rules
  apply.
* Sync execution is the default.
* Add `?async=true` to queue the rerun in the background.
* Success responses reuse the same `energyModelId`; rerun does not create a new row.
