API pulling WellIDs at the Forecast Metadata Level that don't appear at the Well project level

Hi, I’m pulling all the wells in a project using /v1/projects/:ProjID/company-wells? and then pulling the metadata from a specific forecast using /v1/projects/:ProjID/forecasts/:ForecastID/outputs?

I get these two outputs into pandas tables and then left join metadata ← ProjectWells . My problem is that i’m getting some WellIDs from the metadata that i can’t pair to the WellIDs of the Project Wells…i found ~2K WellIDs present in the metadata but not in the Project Wells. What can i do to start troubleshooting? my first thought is that its pulling Deleted wells from the Forecast maybe? Is it possible that Wells are present at the Forecast level that are not seen at the Project level?

thanks for the help!

Do you have any Project scoped wells? You can check for those using this endpoint: ComboCurve REST API

I see! so /wells? will give you only Project scoped wells. So any wells uploaded manually through a spreadsheet will be there. Thanks!

Yeah it can be a little confusing. All Company scoped wells should be available through this endpoint. Company scoped wells assigned to a Project should be available through this endpoint. And finally, Project scoped wells are available here.

In this forum post I demonstrated how you can determine the scope of a well through the UI.