post-project-well-calcs-run
POST/v1/projects/:projectId/well-calcs/run
Starts an asynchronous run of the well calcs for the given wells of a project, the same calculation as Run Well Calcs in the ComboCurve UI. It refreshes the calculated well headers: months produced, cumulative volumes, first 6/12 months, last 12 months, last month, and their per-perforated-interval variants.
Production written or deleted through the API does not refresh these headers. After a load, call this endpoint once with all the affected wells instead of after every request.
Always returns 202 Accepted immediately with a jobId that can be polled via GET /v1/projects/{projectId}/well-calcs/run/{jobId}. The request is rejected without starting a run when any of the wells is not a well of the project.
Request
Responses
- 202
- 400
- 404
- 429
Accepted. The run has been queued. Poll GET /v1/projects/{projectId}/well-calcs/run/{jobId} for status.
Bad Request. The body failed validation (no wells, more than 1000 wells, an invalid well ID or resolution), or some wells were not found in the project.
Not Found. The project was not found.
Too Many Requests. The tenant has too many runs in progress (pending or running). Wait for a run to complete before starting a new one.