Skip to main content

post-scenario-run

POST 

/v1/projects/:projectId/scenarios/:scenarioId/run

Starts an asynchronous economics run for the specified scenario. Always returns 202 Accepted immediately with a jobId that can be polled via GET .../run/{jobId}. Mode A (defaults): Send an empty body {} or { "wellIds": [...] }. The server uses the same UI dialog defaults for columns, report settings, and combos when the corresponding setting ids are omitted. Mode B (saved settings): Supply any subset of econSettingId, econReportSettingId, and comboSettingId. Omitted ids fall back to UI defaults for that slice. Selection: provide wellIds, or omit it to run every well in the scenario. Either way each well resolves to its base scenario-well-assignment; incrementals are not included.

Request​

Responses​

Accepted. The economics run has been queued. Poll GET .../run/{jobId} for status.