Skip to main content
POST
/
energymodels
/
{energy_model_id}
/
run
Rerun Saved Energy Model
curl --request POST \
  --url https://api.example.com/energymodels/{energy_model_id}/run

POST /energymodels//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.